Learn R Programming

MPAgenomics (version 1.2.3)

callingProcess: Calling aberrations in segmented copy-number signal.

Description

Launch the process of segmentation labeling. This function uses functions from CGHcall package developped by Sjoerd Vosse, Mark van de Wiel and Ilari Scheinin. See the CGHcall package for more details.

Usage

callingProcess(segmentData, nclass = 5, cellularity = 1, verbose = TRUE, ...)

Arguments

segmentData

A list (see details).

nclass

The number of levels to be used for calling. Either 3 (loss, normal, gain), 4 (including amplifications), 5 (including double deletions).

cellularity

Proportion of tumor cells in the sample ranging from 0 to 1 (default=1). Reflects the contamination of the sample with healthy cells (1 = no contamination).

verbose

If TRUE, print some details.

...

other options of CGHcall functions

Value

A list with the same element as segmentData list and

calls

A matrix, of the same size as segmentData$copynumber matrix, containing the label of each point. -2=double loss, -1=loss, 0=normal, 1=gain, 2=amplification.

segment

A data.frame that summarizes the different segments found.

probdloss

(if CGHcall was run with nclass=5) A matrix of the same size as segmentData$copynumber matrix. It contains the probability for each segmented copynumber to be a double loss.

probloss

A matrix of the same size as segmentData$copynumber matrix. It contains the probability for each segment to be a loss.

probdnorm

A matrix of the same size as segmentData$copynumber matrix. It contains the probability for each segment to be normal.

probdgain

A matrix of the same size as segmentData$copynumber matrix. It contains the probability for each segment to be a gain.

probdamp

(if CGHcall was run with nclass=4 or 5) A matrix of the same size as segmentData$copynumber matrix. It contains the probability for each segment to be an amplification.

Details

segmentData is a list containing:

copynumber

A matrix. Each column contains a signal of copynumber for a profile. Each row corresponds to a genomic position of a probe.

segmented

A matrix of the same size as copynumber. It contains the segmented signals.

chromosome

A vector of length nrow(copynumber) containing the studied chromosome (number) for each position.

startPos

A vector of length nrow(copynumber) containing the starting genomic position of each probe.

featureNames

A vector of length nrow(copynumber) containing the names of each probe.

sampleNames

A vector of length ncol(copynumber) containing the names of each profile.