splv: Accessor and replacement functions for 'splv' slot

Description Usage Arguments Value Author(s) Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
splv(x, ...)

splv(x, ...) <- value

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

## S4 replacement method for signature 'COBRAPerformance,character'
splv(x) <- value

## S4 replacement method for signature 'COBRAPlot,character'
splv(x) <- value

Arguments

x

A COBRAPerformance or COBRAPlot object.

...

Additional arguments.

value

A character string giving the name of a feature annotation to use for stratification.

Value

The accessor function returns a character string giving the name of a feature annotation to use for stratification.

Author(s)

Charlotte Soneson

Examples

1
2
3
4
5
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
                                   binary_truth = "status",
                                   aspects = "fdrtpr", splv = "expr_cat")
splv(cobraperf)

iCOBRA documentation built on April 17, 2021, 6:07 p.m.