View source: R/gene_scoring_big_matrices.r
compute_ewce_scores_environ | R Documentation |
Compute gene-by-celltype specificity matrix with the EWCE score. Code modified from the EWCE package by Skene et al. (2016, DOI 10.3389/fnins.2016.00016). If the expression matrix contains NAs, then this function removes NA-only rows and replaces the remaining NAs with the row average.
compute_ewce_scores_environ(
obj,
number_of_threads = 1,
col_max_miss = 0.1,
row_max_miss = 0.1
)
obj |
Environment object containing an exp (numeric matrix of genes-by-cell-ID) & an annot (dataframe of cell annotations). |
number_of_threads |
Number of threads to parallelize calculation over. Default = 1. |
col_max_miss |
Column maximum missingness (default = 0.1) |
row_max_miss |
Row maximum missingness (default = 0.1) |
Matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.