init_impute: Initialize imputation for each individual gene

Description Usage Arguments Details Value Author(s)

View source: R/SIMPLE.R

Description

Initialize imputation for each individual gene

Usage

1
init_impute(Y2, M0, clus, p_min = 0.6, cutoff = 0.1, verbose = F)

Arguments

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.

Details

Fit each gene expression by a zero-inflated censored Gaussian distribution and return a random sample of imputed values for initialization

Value

Imputed gene expression matrix, treat each gene independently

Author(s)

Zhirui Hu, zhiruihu@g.harvard.edu

Songpeng Zu, songpengzu@g.harvard.edu


xyz111131/SIMPLEs documentation built on Jan. 8, 2020, 2:48 a.m.