truth {iCOBRA} | R Documentation |
truth
slotAccessor and replacement functions for the truth
slot in a
COBRAData
object.
truth(x, ...) truth(x, ...) <- value ## S4 method for signature 'COBRAData' truth(x) ## S4 replacement method for signature 'COBRAData,data.frame' truth(x) <- value
x |
A |
... |
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. |
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.
Charlotte Soneson
data(cobradata_example) head(truth(cobradata_example))