Description Usage Arguments Details Value Author(s)
Initialize imputation for each individual gene with known dropout rate for each cell type
1 | init_impute_bulk(Y2, clus, bulk, pg1, cutoff = 0.1, verbose = F)
|
Y2 |
scRNASeq data matrix. Each row is a gene, each column is a cell. |
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. |
bulk |
Gene expression matrix of bulk RNASeq, only used for plot if verbose = T. |
pg1 |
lower bound of Dropout rate (at least 1- pg1) for each cell type. |
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.