This is a test version of Biostars. For the public version, visit https://www.biostars.org.
ggbio for plotting gene model

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

0 answers

No answers yet.

Log in to answer this question.