| calculateEvalMetrics {SpatialDDLS} | R Documentation |
Calculate evaluation metrics on test mixed transcriptional profiles
Description
Calculate evaluation metrics on test mixed transcriptional profiles. By
default, absolute error (AbsErr), proportional absolute error
(ppAbsErr), squared error (SqrErr), and proportional squared
error (ppSqrErr) are calculated for each test mixed profile. In
addition, each of these metrics is aggregated according to three criteria:
cell type (CellType), probability bins in ranges of 0.1 (pBin),
and number of different cell types present in the spot (nCellTypes).
Usage
calculateEvalMetrics(object)
Arguments
object |
|
Value
A SpatialDDLS object with is a
DeconvDLModel object. The calculated metrics are
stored in the test.deconv.metrics slot of the
DeconvDLModel object.
See Also
distErrorPlot corrExpPredPlot
blandAltmanLehPlot barErrorPlot