Description Usage Arguments Value Examples
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
.
1 2 3 4 5 6 7 8 |
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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | # Run signature profiling
choose_sigs <- TBsignatures[c(1, 2)]
prof_indian <- runTBsigProfiler(TB_indian, useAssay = "logcounts",
algorithm = "ssGSEA",
signatures = choose_sigs,
parallel.sz = 1)
# 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.