Given a SummarizedBenchmark object, returns a list of lists of performance metrics that have been defined for each assay. Optionally, if assay = is specified, performance metrics for only the specified subset of specified assays are returned.

performanceMetrics(object, ...)

# S4 method for SummarizedBenchmark
performanceMetrics(object, assay = NULL)

Arguments

object

a SummarizedBenchmark object.

...

futher arguments, perhaps used by methods.

assay

a character string indicating an assay name.

Value

A SimpleList with one element for each assay. Each element of the list contains a list of performance metric functions.

See also

Examples

data(sb) performanceMetrics(sb)
#> List of length 2 #> names(2): qvalue logFC
performanceMetrics(sb, assay = "qvalue")
#> List of length 1 #> names(1): qvalue