fdrnbr: Accessor and replacement functions for 'fdrnbr' slot

fdrnbrR Documentation

Accessor and replacement functions for fdrnbr slot

Description

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

Usage

fdrnbr(x, ...)

fdrnbr(x, ...) <- value

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

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

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

Arguments

x

A COBRAPerformance or COBRAPlot object.

...

Additional arguments.

value

A data frame giving information about the observed FPR and the number of features called positive for each method and each stratification level, at various adjusted p-value thresholds.

Value

The accessor function returns a data frame giving information about the observed FPR and the number of features called positive for each method and each stratification level, at various adjusted p-value thresholds.

Author(s)

Charlotte Soneson

Examples

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

markrobinsonuzh/iCOBRA documentation built on March 28, 2024, 2:01 p.m.