loadRegion {ORFik} | R Documentation |
Usefull to simplify loading of standard regions, like cds' and leaders.
loadRegion(txdb, part = "tx")
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 |
Load as GRangesList if input is not already GRangesList.
a GrangesList of region
gtf <- system.file("extdata", "annotations.gtf", package = "ORFik") loadRegion(gtf, "intron")