fdrnbrcurve: Accessor and replacement functions for 'fdrnbrcurve' slot

fdrnbrcurveR Documentation

Accessor and replacement functions for fdrnbrcurve slot

Description

Accessor and replacement functions for the fdrnbrcurve slot in a COBRAPerformance or COBRAPlot object.

Usage

fdrnbrcurve(x, ...)

fdrnbrcurve(x, ...) <- value

## S4 method for signature 'COBRAPerformance'
fdrnbrcurve(x)

## S4 replacement method for signature 'COBRAPerformance,data.frame'
fdrnbrcurve(x) <- value

## S4 replacement method for signature 'COBRAPlot,data.frame'
fdrnbrcurve(x) <- value

Arguments

x

A COBRAPerformance or COBRAPlot object.

...

Additional arguments.

value

A data frame giving information necessary to generate curves of observed FDR vs number of features called positive for each method and each stratification level.

Value

The accessor function returns a data frame giving information necessary to generate curves of observed FDR vs number of features called positive for each method and each stratification level.

Author(s)

Charlotte Soneson

Examples

data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status",
                                   aspects = "fdrnbrcurve")
head(fdrnbrcurve(cobraperf))

markrobinsonuzh/iCOBRA documentation built on Nov. 7, 2024, 7:11 a.m.