plot_pairs | R Documentation |
Posterior multivariate pairs plot for Poisson log-normal mixed model
plot_pairs(obj, marker1, marker2, marker3)
obj |
Object of class |
marker1 |
Name of first marker |
marker2 |
Name of second marker |
marker3 |
Name of third marker |
ggplot2
object
set.seed(1) df = simulate_data(n_cells = 10) str(df) fit = poisson_lognormal(df, protein_names = names(df)[3:ncol(df)], condition = "condition", group = "donor", r_donor = 2, warmup = 200, iter = 325, adapt_delta = 0.95, num_chains = 1) plot_pairs(fit, "m01", "m02", "m03")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.