Description Usage Arguments Details Value
View source: R/functions-plotting.R
Visualizes plots of relative frequency ("weights") of cell subtypes ("bins" or "signatures") summarizing each group of single-cell samples. Each summary histogram is computed by taking the bin-wise mean of all samples in the group
1 2 3 4 5 6 7 8 9 | plotSummaryHistograms(
myobj,
cluster_assignments,
cell_model = c("monocle2", "seurat", "phate"),
cmap = NULL,
ncol.plot = 4,
ax.lab.sz = 2.5,
title.sz = 3
)
|
myobj |
Phemd object containing cell subtype relative frequency in @data_cluster_weights slot |
cluster_assignments |
Vector containing group assignments for each sample in myobj |
cell_model |
Method by which cell state was modeled (either "monocle2", "seurat", or "phate") |
cmap |
Vector containing colors by which histogram bars should be colored (optional) |
ncol.plot |
Number of columns to use to plot multi-panel histogram plot |
ax.lab.sz |
Scaling factor for axis labels (default 2.5) |
title.sz |
Scaling factor for plot title (default 3) |
groupSamples
must be called before calling this function. Saves plots in directory called "summary_inhibs"
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.