plotTranscriptsFromUCSC | R Documentation |
A wrapper around the plotTranscripts function. See the documentation for (plotTranscripts
)
for more information. Note that this function is much slower than (plotTranscripts
) or
(plotTranscriptsFromEnsembldb
) functions, because indivudally extracting exon
coordinates from txdb objects is quite inefficient.
plotTranscriptsFromUCSC(orgdb, txdb, gene_names, transcript_ids = NULL, ...)
orgdb |
UCSC OrgDb object. |
txdb |
UCSC TxDb obejct. |
gene_names |
List of gene genaes to be plot. |
transcript_ids |
Optional list of transcript ids to be plot. (default = NULL) |
... |
Additional parameters to be passed to plotTranscripts |
Transcript plot.
#Load OrgDb and TxDb objects with UCSC gene annotations require("org.Hs.eg.db") require("TxDb.Hsapiens.UCSC.hg38.knownGene") orgdb = org.Hs.eg.db txdb = TxDb.Hsapiens.UCSC.hg38.knownGene plotTranscriptsFromUCSC(orgdb, txdb, "NCOA7", transcript_ids = c("ENST00000438495.6", "ENST00000368357.7"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.