R/plot.cytogroup.R
plot.cytogroup.Rd
Plot fixded coefficients of group-specific fixed effects model
# S3 method for cytogroup 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)) group_fit <- CytoGLMM::cytogroup(df, protein_names = protein_names, condition = "condition", group = "donor") plot(group_fit) #> Warning: Removed 10 rows containing missing values (geom_point).