calcFractionalCopyNumbers-CNVDetectionResult-method: Calculation of fractional copy numbers for the CNVs and CNV...

calcFractionalCopyNumbers,CNVDetectionResult-methodR Documentation

Calculation of fractional copy numbers for the CNVs and CNV regions.

Description

This generic function calculates the fractional copy numbers of a CNV detection method stored in an instance of CNVDetectionResult-class. Must be a result of "referencecn.mops".

Usage

## S4 method for signature 'CNVDetectionResult'
calcFractionalCopyNumbers(object,
  segStat = "mean")

Arguments

object

An instance of "CNVDetectionResult"

segStat

Which statistic per segment should be used. Can be either "mean" or "median". (Default="mean").

Value

calcFractionalCopyNumbers returns an instance of "CNVDetectionResult".

Author(s)

Guenter Klambauer klambauer@bioinf.jku.at

Examples

data(cn.mops)
r <- referencecn.mops(X[,1:2],apply(X,1,median))
calcFractionalCopyNumbers(r)

gpovysil/cn.mops documentation built on Aug. 7, 2024, 12:45 p.m.