Description Usage Arguments Value Author(s)
If the predMeta
slot contains a column with the true classes of the cells,
builds a contingency table by using this column as reference and comparing it to the predicted classes
obtained with scPredict
. If an independent column with predicted classes is in the prediction
metadata, this column instead of the default classes assigned by scPred
can be provided using the
pred
parameter.
1 2 |
object |
|
true |
Column name in |
pred |
Column name in |
fill |
Value to fill contingency table ff unique cell classes from the true and the predicted columns do not match. |
prop |
Return proportions or counts? Default: proportions |
digits |
If proportions are returned, number of digits to round numbers |
A contingency table
Jos<c3><a9> Alquicira Hern<c3><a1>ndez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.