View source: R/plot_cell_percentages.R
plot_cell_percentages | R Documentation |
Plots cells proportions as barplots.
plot_cell_percentages(
cell_proportions,
cells_to_exclude = NULL,
cellprop_colname = "Proportion_name"
)
cell_proportions |
Data Frame. Output from
|
cells_to_exclude |
String Vector. Markers to exclude. |
cellprop_colname |
String. Column to use for y axis names. Default is "Proportion_name". |
A plot is returned
p_cells <- calculate_cell_proportions(SPIAT::simulated_image)
plot_cell_percentages(p_cells)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.