calcFractionalCopyNumbers,CNVDetectionResult-method {cn.mops} | R Documentation |
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".
## S4 method for signature 'CNVDetectionResult' calcFractionalCopyNumbers(object, segStat = "mean")
object |
An instance of "CNVDetectionResult" |
segStat |
Which statistic per segment should be used. Can be either "mean" or "median". (Default="mean"). |
calcFractionalCopyNumbers
returns an
instance of "CNVDetectionResult".
Guenter Klambauer klambauer@bioinf.jku.at
data(cn.mops) r <- referencecn.mops(X[,1:2],apply(X,1,median)) calcFractionalCopyNumbers(r)