Description Usage Arguments Value Author(s) See Also Examples
View source: R/plotGvisTracks.R
Annotate a GRanges gene model with ORF boundries for visualisation with Gviz
1 | annotateGeneModel(transcripts, orfs)
|
transcripts |
GRanges of gene model to be visualised |
orfs |
ORF predictions. Created by getORFs() |
data.frame of a gene model for visualisation
Beth Signal
Other Gviz gene structure visualisation:
makeGeneModel()
1 2 3 4 5 6 7 8 | gtf <- rtracklayer::import(system.file("extdata", "gencode.vM25.small.gtf",
package = "GeneStructureTools"
))
transcript <- gtf[gtf$type == "exon" & gtf$gene_name == "Tmem208"]
g <- BSgenome.Mmusculus.UCSC.mm10::BSgenome.Mmusculus.UCSC.mm10
# longest ORF for each transcripts
orfs <- getOrfs(transcript, BSgenome = g, returnLongestOnly = TRUE)
geneModelAnnotated <- annotateGeneModel(transcript, orfs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.