Description Usage Arguments Value Author(s) See Also Examples
View source: R/plotSpectraCaterpillar.R
For each chosen sample, this function generates a caterpillar plot of signature weights. By default, signatures are ordered by p-value and those below the significance threshold are marked with an asterisk. Weights from the input sample are shown as red crosses, whereas weights from the generated random spectra are shown as blue circles (median values) and bars (confidence interval ranges). Options are provided to customize signature selection and display.
1 2 3 4 | plotSpectraCaterpillar(x, spectra.set=NULL, sig.set=NULL, order_sig_by_pval=TRUE,
signif=TRUE, pval=0.05, CI=0.95, xlab=NULL, ylab=NULL, cexRow=NULL, cex.lab=0.95,
main.title=NULL, col.title="black", line.title=1.5, cex.title=0.85, subtitle=NULL,
col.subtitle="darkgray", line.subtitle=0.5, cex.subtitle=0.55, legend=TRUE)
|
x |
|
spectra.set |
Vector of samples names. If |
sig.set |
Vector of signature names. If |
order_sig_by_pval |
Logical to order signatures by p-value. Default is |
signif |
Logical to display asterisks in statistically significant signature labels. Default is |
pval |
P-value threshold for statistical significance. Default is 0.05. |
CI |
Confidence interval (normalized to 1) around the median for random spectra (shown as blue bars). Default is 0.95. |
xlab |
Label for x axis. |
ylab |
Label for y axis. |
cexRow |
Size of row labels. |
cex.lab |
Axis label size. |
main.title |
Custom title. |
col.title |
Title color. |
line.title |
Title line position. |
cex.title |
Title size. |
subtitle |
Custom subtitle. |
col.subtitle |
Subtitle color. |
line.subtitle |
Subtitle line position. |
cex.subtitle |
Subtitle size. |
legend |
Logical to display legend. Default is |
None.
Julian Candia
Maintainer: Julian Candia julian.candia@nih.gov
mutSigMapper
, plotSpectraHeatmap
1 2 3 | data(spectra)
map = mutSigMapper(spectra)
plotSpectraCaterpillar(map, spectra.set="colon1")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.