Description Usage Arguments Value Author(s) Examples
Generate a data.frame
mapping transcript IDs to gene IDs, based on
a GRangesList object generated by getFeatureRanges
.
1 | getTx2Gene(grl, filepath = NULL)
|
grl |
|
filepath |
Either |
Invisibly returns a data.frame
with the transcript-to-gene
mapping.
Charlotte Soneson
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## 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.