aroma.cn (version 1.6.1)

normalizeMirroredBAFsByRegions.matrix: Normalizes region-level mirrored allele B fractions (mBAFs)

Description

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).

Usage

# S3 method for matrix
normalizeMirroredBAFsByRegions(data, flavor=c("plain", "total"), ..., verbose=FALSE)

Value

A numeric

matrix of the same dimensions as argument data.

Arguments

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.

flavor

A character string specifying how the normalization function/scale factors are estimated.

...

Additional arguments passed fitXYCurve, which is used if flavor="total".

verbose

See Verbose.

Author

Henrik Bengtsson, Pierre Neuvial

Details

The mBAFs for heterozygous SNPs are also known as the Decrease in Heterozygosity signals (DHs).