subset.DNAcopy: Subset a DNAcopy data object

View source: R/DNAcopyMethods.R

subset.DNAcopyR Documentation

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

  ## 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.


veseshan/DNAcopy documentation built on Oct. 18, 2023, 8:30 p.m.