Description Usage Arguments Value
Calculates the distance between the closet pair of points between two clusters.
1 2  | group_distance(seurat_object, group, reduction = "pca", dims = 1:30,
  method, distance = "euclidean", output = "table")
 | 
seurat_object | 
 A seurat object  | 
group | 
 Seurat Categories or groups for which the distances between are calculated. Cell wise data.  | 
reduction | 
 Dimensionality reduction data to use  | 
dims | 
 Which dimensions to use  | 
method | 
 Cluster Distance methods to use. Options are "single", "complete", "average", "centroid", "ward", "mahalanobis". Further explanation for these methods is given in the details.  | 
distance | 
 Point to point distance to use. Options are "euclidean", "maximum", "manhattan", "canberra", "binary", "minkowski"  | 
output | 
 Output type. Default is "seurat" (Seurat S4 object), "table" (Table of distance data).  | 
Distance data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.