projectWBCnew: projectWBCnew

Description Usage Arguments Value

View source: R/projectWBCnew.R

Description

This function predicts the underlying cellular composition of heterogeneous tissue types (i.e., WB) using the constrained projection procedure described by Houseman et al., (2012).

Usage

1
projectWBCnew(Y, coefWBC, contrastWBC = NULL, nonnegative = TRUE)

Arguments

Y:

A J x N matrix of methylation beta-values collected from mixed/ heterogeneous biospecimen (i.e., WB). Target set.

coefWBC:

A J x K projection matrix;, i.e., within-cell type mean methylation matrix across J DMLs and K many cell types

contrastWBC:

Contrast for cell composition predictions. The user needn't modify this

nonnegative: Should cell predictions be nonnegative. Defaults to TRUE

Value

A N x K matrix of cell proportion estimates across the K cell types for each of the N subjects contained in the Target Set.


immunomethylomics/IDOL documentation built on July 9, 2020, 5:14 a.m.