separability: separability

Description Usage Arguments Value

View source: R/separability.R

Description

Calculate separability for labeled data. Internal function called by separability_by_group.

Usage

1
separability(coord, class_label, k = 5)

Arguments

coord

A dataframe of the two dimension t-SNE coordinates of each cell in the combined sample.

class_label

A vector of sample labels for each cell, with the same order as the tsne_coord.

k

K-nearest neighbours used to calculate distance. DEFAULT is 5.

Value

A single value of separability.


xgaoo/ClusterMap documentation built on Oct. 9, 2021, 5:31 a.m.