getTx2Gene | R Documentation |
Generate a data.frame
mapping transcript IDs to gene IDs, based on
a GRangesList object generated by getFeatureRanges
.
getTx2Gene(grl, filepath = NULL)
grl |
|
filepath |
Either |
Invisibly returns a data.frame
with the transcript-to-gene
mapping.
Charlotte Soneson
## Get feature ranges
grl <- getFeatureRanges(
gtf = system.file("extdata/small_example.gtf", package = "eisaR"),
featureType = c("spliced", "intron"),
intronType = "separate",
flankLength = 5L,
joinOverlappingIntrons = FALSE,
verbose = TRUE
)
## Get transcript-to-gene mapping
t2g <- getTx2Gene(grl = grl)
t2g
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.