compareAlgs | R Documentation |
It may be useful to compare the results of scoring across several different
scoring algorithms via a method of visualization, such as a heatmap. The
compareSigs
function allows the input of a SummarizedExperiment
data object and conducts
profiling on each signature desired, and outputting a heatmap or boxplot
for each signature.
compareAlgs(
input,
signatures = NULL,
annotationColName,
useAssay = "counts",
algorithm = c("GSVA", "ssGSEA", "ASSIGN", "PLAGE", "Zscore", "singscore"),
showColumnNames = TRUE,
showRowNames = TRUE,
scale = FALSE,
colorSets = c("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Accent", "Dark2",
"Paired"),
choose_color = c("blue", "gray95", "red"),
colList = list(),
show.pb = FALSE,
parallel.sz = 0,
output = "heatmap",
num.boot = 100,
column_order = NULL
)
input |
an input data object of the class |
signatures |
a |
annotationColName |
a character string giving the column name in
|
useAssay |
a character string specifying the assay to use for signature
profiling when |
algorithm |
a vector of algorithms to run, or character string if only
one is desired. The default is |
showColumnNames |
logical. Setting |
showRowNames |
logical. Setting |
scale |
logical. Setting |
colorSets |
a vector of names listing the color sets in the order
that they should be used in creating the heatmap. By default, this function
will use the color sets in the order listed in |
choose_color |
a vector of color names to be interpolated for the
heatmap gradient, or a |
colList |
a named |
show.pb |
logical, whether warnings and other output
from the profiling should be suppressed (including progress bar output).
Default is |
parallel.sz |
an integer identifying the number of processors to use
when running the calculations in parallel for the GSVA and ssGSEA algorithms.
If |
output |
a character string specifying whether the outputted plot
should be a |
num.boot |
an integer indicating the number of times to bootstrap the data. |
column_order |
a vector of character strings indicating the order in
which to manually arrange the heatmap columns. Default is |
A heatmap or boxplot for each signature specified comparing the enumerated algorithms.
compareAlgs(TB_indian,
signatures = TBsignatures[c("Gliddon_OD_3")],
annotationColName = "label",
algorithm = c("ssGSEA", "PLAGE"),
scale = TRUE, parallel.sz = 1, output = "heatmap")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.