subsetByGenes: Get a new ReadCountSet with specified gene IDs.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/Allclasses.R

Description

Get a new ReadCountSet with specified gene IDs.

Usage

1
subsetByGenes(RCS, genes)

Arguments

RCS

a ReadCountSet object.

genes

a list of gene IDS.

Value

This function returns a new ReadCountSet object, with changes in slots assayData, featureData, featureData_gene, and permute_NBstat_exon and permute_NBstat_gene if they have been calculated.

Author(s)

Xi Wang, xi.wang@newcastle.edu.au

See Also

newReadCountSet, ReadCountSet

Examples

1
2
3
4
5
data(RCS_example, package="SeqGSEA")
RCS_example
genes <- c("ENSG00000000938", "ENSG00000000005")
RCS_sub <- subsetByGenes(RCS_example, genes)
RCS_sub

sunlightwang/SeqGSEA documentation built on Dec. 5, 2020, 5:52 p.m.