Computes homogeneity of labeled observations with multiple label types.
separability(x, labels)input data matrix, with rows as observations and columns as features
a vector of labels for the observations. A label could be a type of the observation e.g cell type in single-cell data
A list with the following components:
label_separability A vector of separability scores for each of the label types. A high score denotes high separability
overall_separability Overall average separability score for all the labels