plot_cell_count_by_batch_vars_density: plot cell count by batch variables as a density plot

View source: R/plot_cell_count_by_batch_vars_density.R

plot_cell_count_by_batch_vars_densityR Documentation

plot cell count by batch variables as a density plot

Description

For each batch variable, show a facet panel with sqrt(cell_count) by batch variable

Usage

plot_cell_count_by_batch_vars_density(well_scores, subtitle = NULL)

Arguments

well_scores

tibble::tibble as output by read_well_scores

subtitle

plot subtitle, typically the study identifier

Details

Modeling the cell count as a poisson random variable, taking the square root makes the distribution more normal.

N.A. Thacker and P.A. Bromiley, The Effects of a Square Root Transform on a Poisson Distributed Quantity Statistics and Segmentation Series, 2001-010, updated 2009, http://tina.wiau.man.ac.uk/tina-knoppix/tina-memo/2001-010.pdf

Value

ggplot2 object with the lattice plot with a panel for each batch variable


momeara/MPStats documentation built on July 19, 2022, 3:34 p.m.