Description Usage Arguments Value Author(s) See Also Examples
View source: R/PerformanceMetrics.R
This is a function to define performance metrics for benchmarking methods.
The function is saved into the performanceMetrics
slot.
1 | addPerformanceMetric(object, evalMetric, assay, evalFunction = NULL)
|
object |
A |
evalMetric |
A string with the name of the evaluation metric. |
assay |
A string with an assay name. Indicates the assay that should be given as input to this performance metric. |
evalFunction |
A function that calculates a performance metric. It should contain at least two arguments, query and truth, where query is the output vector of a method and truth is the vector of true values. If additional parameters are specified, they must contain default values. If NULL, the 'evalMetric' string must be the name of a predefined metric available through 'availableMetrics()$function'. |
A SummarizedBenchmark
object.
Alejandro Reyes
availableMetrics
, performanceMetrics
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.