View source: R/metapredict_confusion.R
calcConfusionCv | R Documentation |
Calculate a confusion matrix based on predictions from cross-validation.
calcConfusionCv( cvFit, lambda, ematMerged, sampleMetadata, className = "class", classLevels = NA )
cvFit |
cv.glmnet object from |
lambda |
value of lambda at which to use predictions. |
ematMerged |
matrix of gene expression for genes by samples. |
sampleMetadata |
data.frame of sample metadata. |
className |
name of column in |
classLevels |
Order of classes in the confusion matrix. If |
An object of class table
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.