View source: R/predScSimilarity.R
predScSimilarity | R Documentation |
Predicts expression data for class probability/similarity with a trained binomial/multinomial glmnet logistic regression model
predScSimilarity(model, test, standardize = TRUE, l.min = FALSE, ...)
model |
trained model. |
test |
Seurat object, SummarizedExperiment object or expression matrix for prediction |
standardize |
a logical value specifying whether or not to standardize the test matrix |
l.min |
logical. FALSE will use lambda.1se for prediction |
... |
pass to predict function see ?predict.glmnet |
Generates prediction.
pred <- predScSimilarity(model, test.sce)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.