loadRegion {ORFik} | R Documentation

## Load transcript region

### Description

Usefull to simplify loading of standard regions, like cds' and leaders.

### Usage

    loadRegion(txdb, part = "tx")

### Arguments

`txdb` | a TxDb file or a path to one of: (.gtf ,.gff, .gff2, .gff2, .db or .sqlite), if it is a GRangesList, it will return it self.
`part` | a character, one of: tx, leader, cds, trailer, intron, mrna NOTE: difference between tx and mrna is that tx are all transcripts, while mrna are all transcripts with a cds

### Details

Load as GRangesList if input is not already GRangesList.

### Value

a GrangesList of region

### Examples

    gtf <- system.file("extdata", "annotations.gtf", package = "ORFik")
    loadRegion(gtf, "intron")

[Package ORFik version 1.6.9 Index]