| splv {iCOBRA} | R Documentation |
splv slotAccessor and replacement functions for the splv slot in a
COBRAPerformance or COBRAPlot object.
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
x |
A |
... |
Additional arguments. |
value |
A character string giving the name of a feature annotation to use for stratification. |
The accessor function returns a character string giving the name of a feature annotation to use for stratification.
Charlotte Soneson
data(cobradata_example)
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr", splv = "expr_cat")
splv(cobraperf)