truth: Accessor and replacement functions for 'truth' slot

Description Usage Arguments Value Author(s) Examples

Description

Accessor and replacement functions for the truth slot in a COBRAData object.

Usage

1
2
3
4
5
6
7
8
9
truth(x, ...)

truth(x, ...) <- value

## S4 method for signature 'COBRAData'
truth(x)

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

Arguments

x

A COBRAData object.

...

Additional arguments.

value

A data frame containing true assignments and/or scores for features, together with other feature annotations to use for stratification of performance calculations.

Value

The accessor function returns a data frame containing true assignments and/or scores for features, together with other feature annotations to use for stratification of performance calculations.

Author(s)

Charlotte Soneson

Examples

1
2

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