Learn R Programming

RefFreeEWAS (version 2.2)

projectMix: Cell Mixture Projection (reference-based)

Description

Constrained linear projection for estimating cell mixture or related coefficients.

Usage

projectMix(Y, Xmat, nonnegative=TRUE, sumLessThanOne=TRUE, lessThanOne=!sumLessThanOne)

Arguments

Y

Matrix (m CpGs x n Subjects) of DNA methylation beta values

Xmat

Matrix (m CpGs x K cell types) of cell-type specific methylomes

nonnegative

All coefficients >=0?

sumLessThanOne

Coefficient rows should sum to less than one?

lessThanOne

Every value should be less than one (but possibly sum to value greater than one)?

Value

Projection coefficients resulting from constrained projection

Details

Function for projecting methylation values (Y) onto space of methyomes (Xmat), with various constraints. This is the reference-based method described in Houseman et al. (2012) and also appearing in the minfi package.

References

Houseman EA, Accomando WP et al. DNA methylation arrays as surrogate measures of cell mixture distribution, BMC Bioinformatics, 2012.