Identifies differentially expressed genes between two groups of cells using a likelihood ratio test of negative binomial generalized linear models where the overdispersion parameter theta is determined by pooling information across genes.
NegBinomRegDETest(object, cells.1, cells.2, genes.use = NULL,
latent.vars = NULL, print.bar = TRUE, min.cells = 3)
Seurat object
Group 1 cells
Group 2 cells
Genes to test. Default is to use all genes
Print a progress bar once expression testing begins (uses pbapply to do this)
Minimum number of cells expressing the gene in at least one of the two groups
Returns a p-value ranked data frame of test results.