-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
makeGenesDataFromTxDb did not pick up gene in some region #152
Comments
Hi Bernat and maintainers, I was about to open an issue with a similar problem. I'll post it here, hoping it helps. I tried following their advice and use Maybe this has a very easy solution, like setting a specific parameter, but I haven't found it yet. Guillermo ====================================== Matrix products: default locale: time zone: GB attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi Thank you for developing nice tools. I faced a problem in the makeGenesDataFromTxDb function. I found that plotKaryotype does not work for some region.
grW <- toGRanges("chr17:1715523-1739600") kp <- plotKaryotype(zoom = grW, cex=1, plot.type=2) genes.data <- makeGenesDataFromTxDb(TxDb.Hsapiens.UCSC.hg38.knownGene, karyoplot=kp, plot.transcripts = TRUE, plot.transcripts.structure = TRUE)
But I couldn't see any genes just character(0) like below.
genes.data[["genes"]]@ranges@NAMES
character(0)
But when I used trackViewer package, I can see there is WDR81 gene in the region I indicated in "plotKaryotype". So TxDb.Hsapiens.UCSC.hg38.knownGene package is ok. Do you have any idea for this problem?
genes <- geneTrack("124997", TxDb.Hsapiens.UCSC.hg38.knownGene, "WDR81", asList=FALSE)
genes@dat@ranges
IRanges object with 47 ranges and 0 metadata columns:
start end width
124997.WDR81 1716523 1716535 13
124997.WDR81 1716536 1716546 11
124997.WDR81 1716547 1716571 25
124997.WDR81 1716572 1716575 4
124997.WDR81 1716576 1716600 25
... ... ... ...
124997.WDR81 1737686 1738488 803
124997.WDR81 1738489 1738584 96
124997.WDR81 1738585 1738585 1
124997.WDR81 1738586 1738594 9
124997.WDR81 1738595 1738599 5
The text was updated successfully, but these errors were encountered: