collect_parts: Collect and combine intronic/exonic parts by gene

Description Usage Arguments Details Value Examples

Description

Collect and combine intronic/exonic parts by gene

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
collect_parts(annotation, ...)

## S4 method for signature 'GRanges'
collect_parts(annotation, ...)

## S4 method for signature 'character'
collect_parts(annotation, ...)

## S4 method for signature 'GFFFile'
collect_parts(annotation, ...)

## S4 method for signature 'TxDb'
collect_parts(annotation)

Arguments

annotation

an object representing an annotation such as an GenomicFeatures::TxDb, a GenomicRanges::GRanges object obtained from rtracklayer::import() or plyranges::read_gff() or the name of GFF/GTF file.

...

optional arguments to be passed to downstream methods

Details

This function takes an annotation object and returns a GRanges object with number of rows equal to the number of gene features contained. The resulting GRanges object has the following additional metadata columns:

Value

a GRanges object

Examples

1
2
gtf <- system.file("extdata", "Homo_sapiens.GRCh37.75_subset.gtf", package = "airway")
collect_parts(gtf)

sa-lee/superintronic documentation built on Feb. 18, 2020, 10:36 a.m.