tableAUC | R Documentation |
This function collects the results of bootstrapping and t-tests for a scored
gene expression dataset and presents them using a JavaScript table with an
R interface, or as a data.frame
.
tableAUC(
SE_scored,
annotationColName,
signatureColNames,
num.boot = 100,
pb.show = TRUE,
output = "DataTable"
)
SE_scored |
a |
annotationColName |
a character string giving the column name in
|
signatureColNames |
a vector of column names in the
|
num.boot |
integer. The number of times to bootstrap the data. The
default is |
pb.show |
logical for whether to show a progress bar while running code.
The default is |
output |
a character string indicating the table output format. Possible
values are |
A JavaScript table with an R interface using the DT
package.
# Run signature profiling
choose_sigs <- TBsignatures[c(1, 2)]
prof_indian <- runTBsigProfiler(TB_indian, useAssay = "logcounts",
algorithm = "ssGSEA",
signatures = choose_sigs,
parallel.sz = 1,
update_genes = FALSE)
# Create table
tableAUC(SE_scored = prof_indian, annotationColName = "label",
signatureColNames = names(choose_sigs))
# Create data.frame object
h <- tableAUC(SE_scored = prof_indian, annotationColName = "label",
signatureColNames = names(choose_sigs),
output = "data.frame",
num.boot = 5)
head(h)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.