getImputed: Get imputed data

View source: R/get_imputed.R

getImputedR Documentation

Get imputed data

Description

Get mean imputed data by running E-step once without GQ approximation using the LRT estimates.

Usage

getImputed(data.obs, par.est, sf, CE, XW, tau, parallel = T)

Arguments

data.obs

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

par.est

LRT estimates, using par.DE by default

sf

A vector containing size factors for all cells

CE

A vector containing capture efficiencies for all cells

XW

A matrix containing information for X (cell-type) and W (other covariates)

tau

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

parallel

If TRUE, run in parallel

Value

A matrix containing the mean imputed data.


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