Tests for a change in ET binomial proportion or mean of positive ET Likelihood Ratio Test for SingleCellAssay objects
LRT(sca, comparison, ...)# S4 method for SingleCellAssay,character
LRT(sca, comparison, referent = NULL,
groups = NULL, returnall = FALSE)
A SingleCellAssay
class object
A character
specifying the
factor for comparison
A character
specifying the
reference level of comparison
.
A optional character
specifying a
variable on which to stratify the test. For each level
of groups
, there will be a separate likelihood
ratio test.
A logical
specifying if
additional columns should be returned with information
about the different components of the test.
Combined Likelihood ratio test (binomial and normal) for SingleCellAssay and derived objects