group_distance: Calculates the distance between groups in seurat object

Description Usage Arguments Value

View source: R/distance.R

Description

Calculates the distance between the closet pair of points between two clusters.

Usage

1
2
group_distance(seurat_object, group, reduction = "pca", dims = 1:30,
  method, distance = "euclidean", output = "table")

Arguments

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).

Value

Distance data


sbrn3/disscat documentation built on Dec. 12, 2019, 7:54 a.m.