RGLab / MAST

Tools and methods for analysis of single cell assay data in R
226 stars 57 forks source link

Random effects #107

Closed livnatje closed 5 years ago

livnatje commented 5 years ago

Hi!

Is it possible to use MAST with random effects? For example, when the cells were sampled from different patients (y ~ conditions + nGenes + (1 | patients), instead of y ~ condition + nGenes + patients).

Thanks! Livnat

gfinak commented 5 years ago

Hi, @livnatje Sorry for the delay responding. You can pass method="glmer" to zlm but you'll also have to pass ebayes=FALSE