makeGeneModel: Convert GRanges gene model to data.frame for visualisation...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/plotGvisTracks.R

Description

Convert GRanges gene model to data.frame for visualisation with Gviz

Usage

1
makeGeneModel(transcript)

Arguments

transcript

GRanges of gene model to be visualised

Value

data.frame of a gene model for visualisation

Author(s)

Beth Signal

See Also

Other Gviz gene structure visualisation: annotateGeneModel

Examples

1
2
3
4
gtf <- rtracklayer::import(system.file("extdata", "example_gtf.gtf",
package="GeneStructureTools"))
transcript <- gtf[gtf$type=="exon" & gtf$gene_name=="Neurl1a"]
geneModel <- makeGeneModel(transcript)

GeneStructureTools documentation built on Nov. 8, 2020, 6:04 p.m.