sig_roc | R Documentation |
Drawing multiple AUC into one graph
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
)
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. |
Dongqiang Zeng
data("tcga_stad_pdata", package = "IOBR")
sig_roc(data = tcga_stad_pdata, response = "OS_status", variables = c("TMEscore_plus", "GZMB", "GNLY"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.