Description Usage Arguments Details Value Source
calculate inter-similarity or intra-similarity of clusters
1 2 3 4 5 6 7 8 9 10 11 12  | 
data | 
 feature by cell matrix  | 
group_by | 
 vector of cell annotation  | 
groups | 
 only consider subset cells belonging to these groups  | 
subset_by | 
 if setted, calc intra-/inter-similarity of groups restricted to each subset  | 
subsets | 
 only consider cells belonging to these subsets  | 
dist_fun | 
 function to calculate distance/similarity. see Details.  | 
metric | 
 metric passed to dist_fun  | 
transform_to_similarity | 
 from dist to similarity  | 
transform_method | 
 dist to similarity function, see Details  | 
... | 
 ohter params passed to dist_fun  | 
dist_fun: stats::dist, ClassDiscovery::distanceMatrix (pearson, sqrt pearson, spearman, absolute pearson and so on), philentropy::distance (46 different distances/similarities),
transform_method: 1) 1/(1+x) 2) 1-x/max(x) 3) sqrt(1-x/max(x)) 4) 1-x 5) 1-abs(x) any meaningful function
a slimilarity matrix, usually 0-1
Fig. 4A at https://doi.org/10.1016/j.cell.2019.11.010
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.