exonsToTranscripts: Convert an exon-level gtf annotation to a transcript-level...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/leafCutter.R

Description

Convert an exon-level gtf annotation to a transcript-level gtf annotation

Usage

1

Arguments

exons

GRanges object with exons

Value

GRanges object with transcripts

Author(s)

Beth Signal

See Also

Other gtf manipulation: UTR2UTR53, addBroadTypes, filterGtfOverlap, removeDuplicateTranscripts, removeSameExon, reorderExonNumbers

Examples

1
2
3
4
5
6
gtf <- rtracklayer::import(system.file("extdata","example_gtf.gtf",
package = "GeneStructureTools"))
exons <- gtf[gtf$type=="exon" & gtf$transcript_id=="ENSMUST00000126412.1"]
exons
transcripts <- exonsToTranscripts(exons)
transcripts

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