Description Usage Arguments Value
Calculate separability for every sample pair. The higher the more separable.
1 | separability_pairwise(tsne_coord, group, sample_label, k = 5)
|
tsne_coord |
A dataframe of the two dimension t-SNE coordinates of each cell in the combined sample. |
group |
A vector of group assignment for each cell, with the same order as the tsne_coord. |
sample_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. |
A matrix of separability for each sample pair (column) and each group (row).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.