permute_similarity: Compute a p-value for similarity using permutation

Description Usage Arguments Value

View source: R/compute_similarity.R

Description

Permute cluster labels to calculate empirical p-value

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
permute_similarity(
  expr_mat,
  ref_mat,
  cluster_ids,
  n_perm,
  per_cell = FALSE,
  compute_method,
  rm0 = FALSE,
  ...
)

Arguments

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

Value

matrix of numeric values


clustifyr documentation built on Nov. 8, 2020, 5:32 p.m.