rs_pacmap: PaCMAP implementation

View source: R/extendr-wrappers.R

rs_pacmapR Documentation

PaCMAP implementation

Description

[Experimental] Leverages the PacMAP implementation in manifolds-rs - a very fast Rust-based implementation.

Usage

rs_pacmap(embd, n_dim, pacmap_params, seed, use_high_precision, verbose)

Arguments

embd

Numerical matrix. The data to use to generate the embeddings. Should be of dimensions samples x features.

n_dim

Integer. Number of dimensions to return.

pacmap_params

Named list. List that contains all of the key parameters for the PaCMAP generation.

seed

Integer. Seed for reproducibility.

use_high_precision

Optional logical. Controls fp32 vs fp64 for. If NULL will use sensible default thresholding.

verbose

Integer. If 0L -> silent or 1L for normal verbosity; 2L for detailed verbosity.

Value

The PaCMAP embeddings.


manifoldsR documentation built on Nov. 17, 2026, 5:09 p.m.