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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/exonReformatting.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(), removeDuplicateTranscripts(), removeSameExon(), reorderExonNumbers()

Examples

1
2
3
4
5
gtf <- rtracklayer::import(system.file("extdata", "gencode.vM25.small.gtf",
    package = "GeneStructureTools"
))
exons <- gtf[gtf$type == "exon"]
transcritps <- exonsToTranscripts(exons)

betsig/GeneStructureTools documentation built on March 31, 2021, 4:43 a.m.