ggbio for plotting gene model
0
0
Entering edit mode
3.6 years ago
linjc.xmu ▴ 30

Dear all, I used ggbio package in R for plotting gene models. However, intron lines were only presented in one transcript. My codes are:

txdb <- makeTxDbFromGFF(file="/home/linjc/genome/gff/Arabidopsis_thaliana.TAIR10.37.gtf",format="gtf") autoplot(txdb, which=GRanges("5", IRanges(18585000, 18591500)),names.expr = "tx_name", truncate.gaps = FALSE, truncate.fun = NULL, ratio = 0.0025, mode = c("full"),geom = c("alignment"), stat =c("identity"),aes(fill=tx_name))

The output is: https://jimlin.smugmug.com/My-First-Gallery/n-pBrn88 gene models

Did anyone meet with this problem? Thanks very much

R • 851 views
ADD COMMENT

Login before adding your answer.

Traffic: 1641 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6