lawremi / ggbio

Grid and ggplot2 based visualization for biological data
111 stars 24 forks source link

How to add gap line in lncRNA graph by using ggplot #57

Open zm20074970 opened 9 years ago

zm20074970 commented 9 years ago

Hello, all, I try to use ggbio to create a lncRNA database(http://www.lncipedia.org/downloads/lncipedia_3_0.gtf), but I got a warning like that ""gap" is not matching to following arbitrary model terms"cds CDS Cds exon EXON Exon utr UTR Utr"", so there is no gap line in my transcripts, how to add the gaps? my commends are below: txdblnc <- makeTranscriptDbFromGFF(file="lncipedia_3_0.gtf", format = 'gtf') wh <- GRanges("chr10", IRanges(93525000, 93656000)) p4 <- autoplot(txdblnc, wh, color = "Dark Green", fill = "Dark Green")

Sherry520 commented 5 years ago

@zm20074970 Have you solved it?