Rdocumentation
powered by
Learn R Programming
DNAcopy (version 1.46.0)
subset.DNAcopy: Subset a DNAcopy data object
Description
Function to return a subset of a copy number array data object by a list of chromosomes and sample.
Usage
"subset"(x, chromlist=NULL, samplelist=NULL, ...)
Arguments
x
DNAcopy object
chromlist
chromosomes of interest. Should be a subset of the valid chromosome names in the original data.
samplelist
samples of interest. Can be integers denoting the samples of interest or a vector of valid sample names.
...
other arguments which may be passed to
subset
.
Value
An object of class
DNAcopy
with the input data and the results of segmenting them only for the chromosomes and samples of interest.