peakPloidy
Estimate most likely ploidy of genome looking at distribution of smoothed ratio.
"peakPloidy"(object, method = 'mixture', exclude = character(0), ploidyToTest = 12, sd = 5, dThresh = 0.01, n = 2048, adjust = .9, force.smooth = TRUE, reg = FALSE, ds = 1.5, zero.cont = FALSE, ...)
"CNAnorm"
"mixture"
, "density"
,
"median"
, "mode"
or "closest"
. "mixture"
will
fit a mixture model to find peaks; "density"
will use the density
function to find peaks; "median"
"mode"
and "closest"
will only find one peak at the median, mode or peak closest to the median
respectively. No tumour content or reliable estimated ploidy will be
provided. These methods are ment to perform a more ``standard''
normalisation, without stratching the data. Suggested for germline CNV
or a fully automated process that does not requires a normalisation on
integer copy number or for highly heterogeneous sample where such normalisation
would not be possible.
Non ambigous partial matches can be used."density"
."adjust"
parameter passed to the density
function."n"
parameter passed to the density
function."addSmooth"
. It is highly recomended to use "force.smooth = TRUE"
"CNAnorm"
CNAnorm-class
, density
data(LS041)
CN <- dataFrame2object(LS041)
chr2skip <- c("chrY", "chrM")
CN <- gcNorm(CN, exclude = chr2skip)
CN <- addSmooth(CN, lambda = 3)
CN <- peakPloidy(CN, exclude = chr2skip)
# this object CN is what you obtain when you load
# data(CN)
Run the code above in your browser using DataLab