chrseparate {IVAS}R Documentation

Separate a TxDb object based on a chromosome.

Description

With the isActiveSeq method in GenomicFeatures package, this function filters the TxDb object in the GenomicFeatures package based on a single chromosome.

Usage

    chrseparate(GTFdb = NULL, chrname = NULL)

Arguments

GTFdb

The TxDb object in the GenomicFeatures package.

chrname

The chromosome number you would like to select from TxDb

Value

This function returns the TxDb limited to the chromosome number that you want.

Author(s)

Seonggyun Han, Sangsoo Kim

References

Lawrence M, Huber W, Pages H, Aboyoun P, Carlson M, Gentleman R, Morgan M, and Carey V. Software for Computing and Annotating Genomic Ranges. PLoS Computational Biology, 9, e1003118. 2013.

See Also

isActiveSeq, seqinfo

Examples

    sampleDB <- system.file("extdata", "sampleDB", package="IVAS")
    sample.Txdb <- loadDb(sampleDB)
    filtered.txdb <- chrseparate(sample.Txdb,19)

[Package IVAS version 2.14.0 Index]