tidyUpMetrics {SummarizedBenchmark} | R Documentation

## Reformat performance metrics to a long format.

### Description

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

### Usage

    tidyUpMetrics(object)

### Arguments

`object` | A `SummarizedBenchmark` object.

### Value

A tidy `data.frame`

### Author(s)

Alejandro Reyes

### Examples

    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 )

[Package SummarizedBenchmark version 1.0.4 Index]