prepare_annotation: Prepare anntation

Description Usage Arguments Value Examples

View source: R/prepare_annotation.R

Description

Read exon and intron annotation from a GTF file.

Usage

1

Arguments

gtf_file

Character string. Path to a GTF file.

Value

List with exon and intron annotations as GRanges and the TxDB object. The slots are exons, introns and txdb.

Examples

1
2
3
4
gtf <- system.file("extdata", "selected.gtf", package = "DISCERNS", 
                   mustWork = TRUE)
anno <- prepare_annotation(gtf)
names(anno)

khembach/DISCERNS documentation built on June 23, 2020, 3:35 p.m.