iCOBRA (version 1.0.2)

overlap: Accessor and replacement functions for overlap slot

Description

Accessor and replacement functions for the overlap slot in an COBRAPerformance or COBRAPlot object.

Usage

overlap(x, ...)

overlap(x, ...) <- value

## S3 method for class 'COBRAPerformance': overlap(x)

## S3 method for class 'COBRAPerformance,list_df': overlap(x) <- value

## S3 method for class 'COBRAPlot,list_df': overlap(x) <- value

Arguments

x
An COBRAPerformance or COBRAPlot object.
...
Additional arguments.
value
A data frame or a list, giving information about which feature that are classified as 'positive' by each method and for each stratification level.

Value

  • The accessor function returns a data frame or a list, giving information about which feature that are classified as 'positive' by each method and for each stratification level.

Examples

Run this code
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status",
                                   aspects = "overlap")
head(overlap(cobraperf))

Run the code above in your browser using DataLab