View source: R/plot-miscellaneous.R
plotCellCount | R Documentation |
Visualizes the number and distribution of cells across a discrete feature of choice.
plotCellCount(object, across, color_by = across, phase = NULL)
object |
A valid cypro object. |
across |
Character value, character vector or NULL (see details for more). Specifies the grouping variable of interest. Use |
color_by |
Character value. Denotes the discrete variable with
which to color the columns of the plot. Defaults to input for
argument |
phase |
Character or numeric. If character, the ordinal value referring to the phase of interest (e.g. 'first', 'second' etc.). referring to the phase of interest or 'all'. If numeric, the number referring to the phase. If set to NULL takes the phase denoted as default with Ignored if the experiment design contains only one phase. |
A ggplot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.