lrTest: Likelihood-ratio test

View source: R/LRT.R

lrTestR Documentation

Likelihood-ratio test

Description

Likelihood-ratio test for DE analysis of scRNA-seq data

Usage

lrTest(data.obs, out, X, W = NULL, tau, parallel)

Arguments

data.obs

Observed count matrix for endogeneous genes, rows represent genes, columns represent cells

out

Output of fitNoDE, it contains EM algorithm estimates for models without DE between cell-types

X

Data matrix containing dummy variables for covariates of interest (cell-type)

W

Data matrix containing other covariates to adjust DE analysis. Default NULL

tau

cell-specific estimates (intcp,slope) that link Beta-Binomial dispersion parameter to the mean expression.

parallel

If TRUE, run in parallel

Value

A list containing statistics, p-values and parameter estimates for models without DE.


cz-ye/DECENT documentation built on Jan. 25, 2023, 5:57 a.m.