signatureROCplot_CI | R Documentation |
Create an array of ROC plots with confidence interval bands to compare signatures.
signatureROCplot_CI(
inputData,
annotationData,
signatureColNames,
annotationColName,
scale = FALSE,
choose_colors = c("cornflowerblue", "gray50", "gray79"),
name = NULL,
nrow = NULL,
ncol = NULL,
ci.lev = 0.95,
pb.show = TRUE
)
inputData |
an input data object. It should either be of the class
|
annotationData |
a |
signatureColNames |
a |
annotationColName |
a character string naming the column name in the
|
scale |
logical. Setting |
choose_colors |
a vector of length 3 defining the colors to be used
in the ROC plots. The default is |
name |
a character string giving the title of the ROC plot. If
|
nrow |
integer giving the number of rows in the resulting array. |
ncol |
integer giving the number of columns in the resulting array. |
ci.lev |
a number between 0 and 1 giving the desired level of confidence for computing ROC curve estimations. |
pb.show |
logical for whether to show a progress bar while running code.
The default is |
An array of ROC plots.
# Run signature profiling
choose_sigs <- TBsignatures[c(1, 2)]
prof_indian <- runTBsigProfiler(TB_indian, useAssay = "logcounts",
algorithm = "Zscore",
signatures = choose_sigs,
parallel.sz = 1)
# Create ROC plots with confidence intervals
signatureROCplot_CI(prof_indian, signatureColNames = names(choose_sigs),
annotationColName = "label")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.