View source: R/plot.cytoeffect_poisson.R
plot.cytoeffect_poisson | R Documentation |
Plot posterior summaries for Poisson log-normal mixed model
## S3 method for class 'cytoeffect_poisson' plot(x, type = "beta", selection = x$protein_names, ...)
x |
Object of class |
type |
A string with the parameter to plot:
|
selection |
A vector of strings with a selection of protein names to plot |
... |
Other parameters |
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(fit, type = "beta")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.