Description Usage Arguments Details Value See Also
Enables calculating internal mean, sd and se of the distance that points in a cluster to the centre of a cluster.
1 2 | internal_distance(seurat_object, group = NULL, 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 |
Whether to output as a seurat object (with data stored within) or as a table containing the information. |
This is an internal helper method for the
function InternalDistance
.
table of mean, sd and se of internal cluster distances
Other internal_distance: InternalDistance
,
internal_linkage_distance
,
internal_mahalanobis_distance
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.