sig_roc: Drawing multiple AUC into one graph

View source: R/sig_roc.R

sig_rocR Documentation

Drawing multiple AUC into one graph

Description

Drawing multiple AUC into one graph

Usage

sig_roc(
  data,
  response,
  variables,
  fig.path = ".",
  main = NULL,
  file.name = NULL,
  palette = "jama",
  cols = NULL,
  alpha = 1,
  compare = FALSE,
  smooth = TRUE,
  compare_method = "bootstrap",
  boot.n = 100
)

Arguments

data

data frame with response and variables

response

response name of data

variables

variables

fig.path

default is current working directory

main

main title of plot

file.name

file.name, default is

palette

default is 'jama', if number of variables is bigger than colors of palettes, 'random' color will be applied

cols

users can provide cols manually

alpha

default is 1

compare

default is FALSE

smooth

default is TRUE

compare_method

default is bootstrap, other option: “delong”, “venkatraman”

boot.n

default is 100 when bootstrap is chosen.

Author(s)

Dongqiang Zeng

Examples

data("tcga_stad_pdata", package = "IOBR")
sig_roc(data = tcga_stad_pdata, response = "OS_status", variables = c("TMEscore_plus", "GZMB", "GNLY"))

IOBR/IOBR documentation built on May 5, 2024, 2:34 p.m.