Learn R Programming

seriation (version 1.4.2)

register_umap: Register Seriation Based on 1D UMAP

Description

Use uniform manifold approximation and projection (UMAP) to embed the data on the number line and create a order for seriate().

Usage

register_umap()

Arguments

Value

Nothing.

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

umap::umap() in umap.

Other seriation: register_DendSer(), register_GA(), register_optics(), register_tsne(), registry_seriate, seriate()

Examples

Run this code

if (FALSE) {
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