PlotROC.LRmodel: Plot ROC for the logistic regression model

View source: R/biomarker_utils.R

PlotROC.LRmodelR Documentation

Plot ROC for the logistic regression model

Description

Plot ROC for the logistic regression model

Usage

PlotROC.LRmodel(
  mSetObj = NA,
  imgName,
  format = "png",
  dpi = 72,
  show.conf = FALSE,
  sp.bin = 0.01
)

Arguments

mSetObj

Input name of the created mSet Object

imgName

Input a name for the plot

format

Select the image format, "png", or "pdf".

dpi

Input the dpi. If the image format is "pdf", users need not define the dpi. For "png" images, the default dpi is 72. It is suggested that for high-resolution images, select a dpi of 300.

show.conf

Logical, show confidence intervals

sp.bin

Numeric, default is set to 0.01.

Author(s)

Jeff Xia jeff.xia@mcgill.ca McGill University, Canada License: GNU GPL (>= 2)


xia-lab/MetaboAnalystR documentation built on April 20, 2024, 8:13 p.m.