plot_pairs: Posterior multivariate pairs plot for Poisson log-normal...

Description Usage Arguments Value Examples

View source: R/plot_pairs.R

Description

Posterior multivariate pairs plot for Poisson log-normal mixed model

Usage

1
plot_pairs(obj, marker1, marker2, marker3)

Arguments

obj

Object of class cytoeffect_poisson computed using poisson_lognormal

marker1

Name of first marker

marker2

Name of second marker

marker3

Name of third marker

Value

ggplot2 object

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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")

ChristofSeiler/cytoeffect documentation built on Nov. 24, 2020, 12:25 a.m.