calculate_distance {SC3} | R Documentation

## Calculate a distance matrix

### Description

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.

### Usage

    calculate_distance(data, method)

### Arguments

`data` | expression matrix
`method` | one of the distance metrics: 'spearman', 'pearson', 'euclidean'

### Value

distance matrix

[Package SC3 version 1.10.1 Index]