Description Usage Arguments Details Value Author(s)
Initialize imputation for each individual gene
1 | init_impute(Y2, M0, clus, p_min = 0.6, cutoff = 0.1, verbose = F)
|
Y2 |
scRNASeq data matrix. Each row is a gene, each column is a cell. |
M0 |
number of cell types |
clus |
A numeric vector for the cell type labels of cells in the scRNASeq. The labels must start from 1 to the number of types (M0). |
p_min |
Restrict the max dropout rate to be 1-p_min. Default = 0.6. |
cutoff |
The value below cutoff is treated as no expression. Default = 0.1. |
verbose |
Whether to plot some intermediate result. Default = False. |
Fit each gene expression by a zero-inflated censored Gaussian distribution and return a random sample of imputed values for initialization
Imputed gene expression matrix, treat each gene independently
Zhirui Hu, zhiruihu@g.harvard.edu
Songpeng Zu, songpengzu@g.harvard.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.