Skip to contents

Computes non-linear dimension reduction with uwot and default parameters.

Usage

umap(dist, ...)

Arguments

dist

a distance matrix

...

other parameters expected to be passed to dimReduction

Value

list containing a 2 x n matrix of reduced dimension data

Examples

head(umap(getDists(Bikes$space1,"euclidean"))$Y)
#>          [,1]      [,2]
#> [1,] 3.858979 -9.411477
#> [2,] 4.112678 -8.836378
#> [3,] 7.012512  9.710054
#> [4,] 7.200870  9.155975
#> [5,] 7.250535  9.099178
#> [6,] 7.347830  8.878831