estimateDeltaLOHByMinC1ForNonAB.PairedPSCBS | R Documentation |
Estimate a threshold for calling LOH from DH based on the location of guessed C1=0 and C1=1 peaks.
## S3 method for class 'PairedPSCBS'
estimateDeltaLOHByMinC1ForNonAB(this, midpoint=1/2, maxC=3 * (ploidy(this)/2), ...,
verbose=FALSE)
midpoint |
A |
maxC |
Maximum total copy number of a segment in order to be included in the initial set of segments. |
... |
Not used. |
verbose |
See |
This method requires that calls for allelic balances already have
been me made, cf. *callAllelicBalance()
.
Returns the estimated LOH threshold as a numeric
scalar or -Inf
.
In case it is not possible to estimate the LOH threshold, then
-Inf
is returned.
Grabs the segment-level C1 estimates.
Calculate segment weights proportional to the number of heterozygous SNPs.
Estimate the C1=1 location as the weighted median C1 for segments that have been called to be in allelic balance.
Estimate the C1=0 location as the smallest C1 among segments that are not in allelic balance.
Let the LOH threshold be the midpoint of the estimates C1=0 and C1=1 locations.
Henrik Bengtsson
Instead of calling this method explicitly, it is recommended
to use the *estimateDeltaLOH()
method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.