calculate_distance {SC3} | R Documentation |
Distance between the cells, i.e. columns, in the input expression matrix are calculated using the Euclidean, Pearson and Spearman metrics to construct distance matrices.
calculate_distance(data, method)
data |
expression matrix |
method |
one of the distance metrics: 'spearman', 'pearson', 'euclidean' |
distance matrix