Description Usage Arguments Value Examples
Functions to subset COBRAData, COBRAPerformance or
COBRAPlot objects. COBRAData objects are subset by features
(rows), while COBRAPerformance and COBRAPlot objects are subset
by methods (columns). Numeric indices are not allowed, since not all slots
may be arranged in the same order.
1 2 3 4 5 6 7 8 |
x |
A |
i |
For |
j |
For |
drop |
not used. |
A subset of the original object, of the same class
1 2 3 4 5 6 7 8 9 | data(cobradata_example)
cobradata_example[c("ENSG00000000457", "ENSG00000000971",
"ENSG00000000460"), ]
cobraperf <- calculate_performance(cobradata_example,
binary_truth = "status",
aspects = "fdrtpr")
cobraperf[, c("voom")]
cobraplot <- prepare_data_for_plot(cobraperf)
cobraplot[, c("voom")]
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.