fitCalMaTeInternal: Algorithms to fit the CalMaTe model for a single SNP

Description Usage Arguments Value Flavor v1 Flavor v2 References See Also


Algorithms to fit the CalMaTe model for a single SNP. Note: These are internal functions of the package. They should not be used elsewhere.


  fitCalMaTeV1(dataT, references, fB1=1/3, fB2=2/3, maxIter=50, ...)
  fitCalMaTeV2(dataT, references, fB1=1/3, fB2=2/3, maxIter=50, ...)
  fitCalMaTeMedians(dataT, references, fB1=1/3, fB2=2/3,...)



A 2xI numeric matrix of allele specific copy numbers (ASCNs), where 2 is the number alleles and I is the number of samples.


A integer vector with elements in [1,I] specifying which samples should be used as the reference set.

fB1, fB2

Thresholds for calling genotypes AA, AB, BB from the allele B fractions.


The maximum number of iterations without converging before the algorithm quits.


Not used.


Returns a 2xI numeric matrix of calibrated ASCNs.

Flavor v1

This is an early version (June 2010-January 2012) of the algorithm described in [1].

Flavor v2

This is the model and algorithm described in [1].

This version was introduced to decrease the number of "artificial outliers" introduced by CalMaTe for some SNPs due to non-converging or wreak-havoc estimates of the SNP effects. Flavor v2 differ from Flavor v1 as follows:

The fitCalMaTeMedians() method is used as a fallback method by fitCalMaTeV2(). It fits CalMaTe without using the rlm function.


[1] M. Ortiz-Estevez, A. Aramburu, H. Bengtsson, P. Neuvial and A. Rubio, CalMaTe: A method and software to improve allele-specific copy number of SNP arrays for downstream segmentation, Bioinformatics, 2012 [PMC3381965].

See Also

These functions are called by calmateByThetaAB().

calmate documentation built on May 2, 2019, 10:11 a.m.