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
)
A Metabolite object.
A column name for the disease (0, 1)
One variable name (if x is provided, model_a and model_b should be NULL or vice versa).
Column names for model a (one or more covariates, as the first model).
Column names for model b (one or more covariates, as the second model).
Title (eg. "BIOCHEMICAL"), default value is x.
ROC.