View source: R/postprocess_cell_enrichment.R
postprocess_cell_enrichment.default | R Documentation |
Computing cell enrichments for matrix object
## Default S3 method:
postprocess_cell_enrichment(
input_obj,
membership_vec,
num_neigh,
bool_cosine = T,
bool_intersect = T,
max_subsample = min(1000, length(membership_vec)),
min_deg = 1,
verbose = 0,
...
)
input_obj |
matrix of |
membership_vec |
factor vector of the same length as the number of cells in |
num_neigh |
number of nearest neighbors |
bool_cosine |
boolean, for using cosine distance if |
bool_intersect |
boolean, on whether or not to symmetrize (via the AND function) the SNN |
max_subsample |
maximum of cells to sample for each cell-type. If there are more than
|
min_deg |
minimum degree of each cell in the SNN |
verbose |
non-negative integer |
... |
additional arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.