View source: R/visualization.R
plot_ROC | R Documentation |
Plot Receiver Operating Characteristic (ROC) curve for metabolites with or without covariates
plot_ROC( object = NULL, y = NULL, x = NULL, model_a = NULL, model_b = NULL, lab = NULL )
object |
A Metabolite object. |
y |
A column name for the disease (0, 1) |
x |
One variable name (if x is provided, model_a and model_b should be NULL or vice versa). |
model_a |
Column names for model a (one or more covariates, as the first model). |
model_b |
Column names for model b (one or more covariates, as the second model). |
lab |
Title (eg. "BIOCHEMICAL"), default value is x. |
ROC.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.