Learn R Programming

seriation (version 1.3.1)

register_umap: Register Seriation Based on 1D UMAP

Description

Use uniform manifold approximation and projection (UMAP) to embedd the data on the number line and create a seriation order.

Usage

register_umap()

Arguments

Details

Registers the method "umap" for seriate. This method applies 1D UMAP to data represented by a distance matrix and extracts the order from the 1D embedding.

Note: Package umap needs to be installed.

References

McInnes, L, Healy, J, UMAP: Uniform Manifold Approximation and Projection for Dimension Reduction, ArXiv e-prints 1802.03426, 2018

See Also

seriate, umap in umap.

Examples

Run this code
# NOT RUN {
register_umap()
get_seriation_method("dist", "umap")

d <- dist(random.robinson(50, pre=TRUE, noise=.1))

o <- seriate(d, method = "umap")
pimage(d, o)
# }

Run the code above in your browser using DataLab