Learn R Programming

IVAS (version 1.4.0)

chrseparate: Separate a TranscriptDb object based on a chromosome.

Description

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

Usage

chrseparate(transdb = NULL, chrname = NULL)

Arguments

transdb
The transcriptDb object in the GnomicFeatures package.
chrname
The chromosome number you would like to selecet from TrnascriptDb

Value

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

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

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

Run the code above in your browser using DataLab