Evaluate predicted cell fractions against known ground truth.
Value
A list containing:
- rmse
Root mean squared error overall
- mae
Mean absolute error overall
- correlation
Pearson correlation overall
- per_celltype
Metrics per cell type
- per_sample
Metrics per sample
Examples
if (FALSE) { # \dontrun{
# Evaluate on held-out test data
metrics <- EvaluatePredictions(predictions, true_fractions)
print(metrics$rmse)
} # }