roc_bin_plot {BioPred}R Documentation

ROC Plot Biomarkers Associated with Binary Outcomes

Description

Generates ROC plots for different biomarkers associated with binary outcomes.

Usage

roc_bin_plot(
  yvar,
  xvars,
  dirs,
  data,
  yvar.display = yvar,
  xvars.display = xvars
)

Arguments

yvar

Binary response variable name, where 0 represents controls and 1 represents cases.

xvars

A vector of biomarker names.

dirs

A vector of directions for the biomarkers. Options are "auto", ">", or "<". - "auto" (default): automatically determines in which group the median is higher and takes the direction accordingly. - ">" indicates that the biomarkers for the control group are higher than those for the case group (controls > t >= cases). - "<" indicates that the biomarkers for the control group are lower or equal to those for the case group (controls < t <= cases).

data

The dataset containing the variables.

yvar.display

Display name for the binary response variable.

xvars.display

Display names for the biomarkers.

Value

ROC plots for different biomarkers associated with binary outcomes.


[Package BioPred version 1.0.1 Index]