Learn R Programming

PRIST (version 0.925)

LRT: 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 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 columns 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.

See Also

zlm.SingleCellAssay, ZlmFit