Learn R Programming

sigaR (version 1.18.0)

cghSeg2subset: Subsetting cghSeg-objects.

Description

Limit an cghSeg object to a subset of its features.

Usage

cghSeg2subset(CNdata, featureSubset, verbose=TRUE)

Arguments

CNdata
Object of class cghSeg.
featureSubset
Object of class numeric, containing the row numbers of features to be maintained in the cghSeg-object.
verbose
Logical indicator: should intermediate output be printed on the screen?

Value

Object of class cghSeg, restricted to the specified subset of features.

References

Van de Wiel, M.A., Kim, K.I., Vosse, S.J., Van Wieringen, W.N., Wilting, S.M. , Ylstra, B. (2007), "CGHcall: an algorithm for calling aberrations for multiple array CGH tumor profiles", Bioinformatics, 23, 892-894.

See Also

cghSeg.

Examples

Run this code
# load data
data(pollackCN16) 

# transform the cghCall-object to a cghSeg-object
pollackCN16 <- cghCall2cghSeg(pollackCN16)

# subset the copy number data
pollackCN16 <- cghSeg2subset(pollackCN16, c(1:50)) 

Run the code above in your browser using DataLab