getTx2Gene {eisaR} | 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