permute_similarity {clustifyr} | R Documentation |
Permute cluster labels to calculate empirical p-value
permute_similarity( expr_mat, ref_mat, cluster_ids, n_perm, per_cell = FALSE, compute_method, rm0 = FALSE, ... )
expr_mat |
single-cell expression matrix |
ref_mat |
reference expression matrix |
cluster_ids |
clustering info of single-cell data assume that genes have ALREADY BEEN filtered |
n_perm |
number of permutations |
per_cell |
run per cell? |
compute_method |
method(s) for computing similarity scores |
rm0 |
consider 0 as missing data, recommended for per_cell |
... |
additional parameters |
matrix of numeric values