tidyUpMetrics: Tidy up performance metrics in SummarizedBenchmark object

Description Usage Arguments Value Author(s) See Also Examples

View source: R/PerformanceMetrics.R

Description

This function takes as input a SummarizedBenchmark object, extracts the estimated performance metrics and reformats them into a long-formated data frame.

Usage

1
tidyUpMetrics(object)

Arguments

object

A SummarizedBenchmark object.

Value

A tidy data.frame

Author(s)

Alejandro Reyes

See Also

estimatePerformanceMetrics

Examples

1
2
3
4
5
6
7
data( "sb", package="SummarizedBenchmark" )
sb <- estimateMetricsForAssay( sb, assay="qvalue", evalMetric="rejections",
    evalFunction=function( query, truth, alpha=0.1 ){
        sum( query < alpha )
    },
    addColData=TRUE )
tidyUpMetrics( sb )

SummarizedBenchmark documentation built on Nov. 8, 2020, 8:30 p.m.