subset.DNAcopy: Subset a DNAcopy data object

Description Usage Arguments Value

View source: R/DNAcopyMethods.R

Description

Function to return a subset of a copy number array data object by a list of chromosomes and sample.

Usage

1
2
  ## S3 method for class 'DNAcopy'
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.


DNAcopy documentation built on Nov. 8, 2020, 5:48 p.m.