The global background, here called $\kappa$, may have multiple origins where normal contamination is one, but not necessarily the only one.
Assumptions: This estimator assumes that there are segments with C1=0 and C1=1, i.e. some deletions and, typically, some normal segements.
## S3 method for class 'PairedPSCBS':
estimateKappaByC1Density(this, typeOfWeights=c("dhNbrOfLoci", "sqrt(dhNbrOfLoci)"),
adjust=1, from=0, minDensity=0.2, ..., verbose=FALSE)
character
string specifying how weights
are calculated.numeric
scale factor specifying the size of
the bandwidth parameter used by the density estimator.numeric
scalar specifying the lower bound for the
support of the estimated density.numeric
threshold specifying
the minimum density a peak should have in order to consider
it a peak.Verbose
.numeric
scalar.typeOfWeights="dhNbrOfLoci"
) is to use
weights proportional to the number of heterozygous SNPs.
An alternative (typeOfWeights="sqrt(dhNbrOfLoci)"
) is
to use the square root of those counts.*estimateKappa()
method.