Normalizes region-level mirrored allele B fractions (mBAFs) for heterozygous and homozygous SNPs by rescaling both equally much such that the normalized homozygous mBAFs become exactly or close to their expected values (which is at zero and one).
# S3 method for matrix
normalizeMirroredBAFsByRegions(data, flavor=c("plain", "total"), ..., verbose=FALSE)
A numeric
matrix
of the same dimensions as argument data
.
A numeric
Kx2 or Kx3 matrix
, where K is the number of
segments and the first and the second column contains average
heterozygous and homozygous mBAF estimates, respectively.
The third column, which is optional, contains total copy numbers.
A character
string specifying how the normalization
function/scale factors are estimated.
Additional arguments passed fitXYCurve
,
which is used if flavor="total"
.
See Verbose
.
Henrik Bengtsson, Pierre Neuvial
The mBAFs for heterozygous SNPs are also known as the Decrease in Heterozygosity signals (DHs).