chrseparate: Separate a TxDb object based on a chromosome.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/chrseparate.R

Description

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

Usage

1
    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

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

IVAS documentation built on Nov. 8, 2020, 5:52 p.m.