View source: R/plot.cytoglmm.R
plot.cytoglmm | R Documentation |
Plot fixded coefficients of random effects model
## S3 method for class 'cytoglmm'
plot(x, order = FALSE, separate = FALSE, ...)
x |
A |
order |
Order the markers according to the mangintute of the coefficients |
separate |
create two separate |
... |
Other parameters |
ggplot2
object
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.