View source: R/wbccPredictor.R
predict_wbcc | R Documentation |
Predict cell percentages based on a matrix or mvr-based model
predict_wbcc( pred, data, covar, transformation = function(x) x, ncomp = NULL, impute = TRUE, ... )
pred |
A matrix or mvr predictor, trained using train_wbcc |
data |
Matrix of DNA methylation beta values |
covar |
Matrix of covariates to correct for (must match those in predictor) |
transformation |
Transformation to apply to predicted values (default: no transformation) |
ncomp |
Optimal number of components |
impute |
Whether to impute missing values (default: TRUE) |
... |
Additional parameters for plsr see ?plsr |
Predicted cell percentages
mvaniterson, lsinke
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.