LRT {MAST} | R Documentation

## Likelihood Ratio Tests for SingleCellAssays

### Description

Tests for a change in ET binomial proportion or mean of positive ET Likelihood Ratio Test for SingleCellAssay objects

### Usage

    LRT(sca, comparison, ...)

    ## S4 method for signature 'SingleCellAssay,character'
    LRT(sca, comparison,
      referent = NULL, groups = NULL, returnall = FALSE)

### Arguments

`sca` | A `SingleCellAssay` class object
`comparison` | A `character` specifying the factor for comparison
`...` | ignored
`referent` | A `character` specifying the reference level of `comparison`.
`groups` | 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.
`returnall` | A `logical` specifying if additional rows should be returned with information about the different components of the test.

### Details

Combined Likelihood ratio test (binomial and normal) for SingleCellAssay and derived objects. This function is deprecated, please use lrTest instead.

### Value

`data.frame`

### See Also

zlm ZlmFit

### Examples

    data(vbetaFA)
    LRT(vbetaFA, 'Stim.Condition', 'Unstim')

[Package MAST version 1.10.0 Index]