Description Usage Arguments Value
View source: R/missing_values.R
A wrapper around plot_cells_heatmap
which is aware of regions
and measures of interest. Because of that it a) adds 0 counts to region + measure
combinations which lacked the relevant kind of value (e.g. extreme or NAs);
b) visually delimits ROIs in the plot for visual convenience.
1 2 | plot_cells_count(dat, by, cells.count, rois, mois, fill = count,
plot.name = "Give a sensible name to the plot!")
|
dat |
data.frame containing information about |
by |
quosure indicating which column we are aggregating along. Usually it is the subject or the item column. |
cells.count |
data.frame with cells count data produced by |
rois, mois |
vectors of identifiers for regions and measures, in which cells have to be counted |
fill |
unquoted name of the column with cell counts |
plot.name |
character |
heatmap plot of the cell counts (expanded compared to the plot
returned by plot_cells_heatmap
- with added zero counts and ROIs
delimitation)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.