plot.cytoglmm: Plot fixded coefficients of random effects model

View source: R/plot.cytoglmm.R

plot.cytoglmmR Documentation

Plot fixded coefficients of random effects model

Description

Plot fixded coefficients of random effects model

Usage

## S3 method for class 'cytoglmm'
plot(x, order = FALSE, separate = FALSE, ...)

Arguments

x

A cytoglmm class

order

Order the markers according to the mangintute of the coefficients

separate

create two separate ggplot2 objects

...

Other parameters

Value

ggplot2 object

Examples

set.seed(23)
df <- generate_data()
protein_names <- names(df)[3:12]
df <- dplyr::mutate_at(df, protein_names, function(x) asinh(x/5))
glmm_fit <- CytoGLMM::cytoglmm(df,
                               protein_names = protein_names,
                               condition = "condition",
                               group = "donor")
plot(glmm_fit)

ChristofSeiler/CytoGLMM documentation built on April 21, 2023, 3:38 a.m.