Run PHATE dimensionality reduction
rs_phate.RdWrapper function into the Rust interface for PHATE.
Constructs a kNN graph, computes alpha decay affinities, powers the
diffusion operator to time t, and embeds via MDS on the resulting
diffusion potential distances.
Arguments
- embd
Numerical matrix. The data to embed of shape samples x features.
- n_dim
Integer. Number of PHATE dimensions to return. Currently only
2Lis supported.- k
Integer. Number of nearest neighbours for graph construction.
- phate_params
Named list. Contains all key parameters for PHATE, see
params_phate()andparams_nn().- seed
Integer. Seed for reproducibility.
- verbose
Boolean. Controls verbosity of the function.