getSImputed | R Documentation |
Get single imputed data by sampling from the posterior distribution of the complete data given the observed data and LRT estimates.
getSImputed(data.obs, par.est, sf, CE, XW, tau, parallel = T)
data.obs |
Observed count matrix for endogeneous genes, rows represent genes, columns represent cells |
par.est |
LRT/EM 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 |
M |
number of imputed values to be generated. |
A matrix containing the single imputed data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.