Description Usage Arguments Value
View source: R/imputeByCells.R
This function imputes dropout-suspected zeros by borrowing information from similar cells using k-nearest neighbors (kNN) regression.
1 | imputeByCells(exprs, dropout_ind, k = 10, ncores = 1, verbose = TRUE)
|
exprs |
A log-transformed expression matrix, where rows and columns corresponds to genes and cells, respectively. |
dropout_ind |
A matrix where each row contains the indices of zero entries (first column for gene name, second column for cell ID) that are suspected as dropouts. |
k |
Number of neighbors to be used in the kNN regression. Default is 10. |
ncores |
Number of cores to use. Default is 1. |
verbose |
Whether to show the progress of imputation. Default is TRUE. |
An imputed version of gene expression matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.