Really enjoying the new glimmaMA/glimmaMDS/glimmaVolcano functions, they're super useful.
Have you considered adding the option to allow the user to specify a second grouping to be applied as a batch effect? Something that would resemble design = ~ group1 + group2 in DESeq2?
Right now, Glimma simply does res.df <- as.data.frame(DESeq2::results(x)) whereas in a multifactorial experiment, we would specify the contrast like res.df <- as.data.frame(DESeq2::results(x, contrast = c("grouping", sampleGroup, refGroup))) in order to extract the differential expression results with batch effect applied.
Hi all,
Really enjoying the new glimmaMA/glimmaMDS/glimmaVolcano functions, they're super useful.
Have you considered adding the option to allow the user to specify a second grouping to be applied as a batch effect? Something that would resemble
design = ~ group1 + group2
in DESeq2?Right now, Glimma simply does
res.df <- as.data.frame(DESeq2::results(x))
whereas in a multifactorial experiment, we would specify the contrast likeres.df <- as.data.frame(DESeq2::results(x, contrast = c("grouping", sampleGroup, refGroup)))
in order to extract the differential expression results with batch effect applied.Thanks very much in advance! Peter