truth: Accessor and replacement functions for truth slot
Description
Accessor and replacement functions for the truth slot in an
COBRAData object.
Usage
truth(x, ...)
truth(x, ...) <- value
## S3 method for class 'COBRAData':
truth(x)
## S3 method for class 'COBRAData,data.frame':
truth(x) <- value
Arguments
x
An 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.