Description Usage Arguments Details Value
View source: R/imputeByAttractors.R
This function imputes dropout-suspected zeros by borrowing information from co-expressed genes in the identified co-expressed attractor signatures.
1 2 3 4 5 6 7 | imputeByAttractors(
exprs,
dropout_ind,
attractor_list,
mi_threshold = 0.4,
verbose = TRUE
)
|
exprs |
A log-transformed expression matrix, where rows and columns represent 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. |
attractor_list |
A list where each element contains the identified co-expressed signature. |
mi_threshold |
MI threshold (between 0 to 1) to determine the gene membership of signatures. Genes with greater than or equal to the threshold are considered to be associated with the signature. Default is 0.2. |
For each gene of interest, we use the top 20 genes involved in the same signature as the predictive variables to fit a linear regression model using cells where all those genes are expressed.
A list consisting of the following components:
imputed |
The imputed version of the expression matrix |
dropout_ind |
An updated indices matrix of dropout-suspected zero entries, where in each contains the indices of the remaining dropouts after this step of imputation. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.