
ForceAtlas2 implementation
rs_forceatlas2_from_knn.Rd
Leverages the ForceAtlas2 implementation in manifolds-rs. This version uses
a pre-computed kNN graph, please see
new_nearest_neighbour().
Arguments
- embd
Numerical matrix. The data to use to generate the embeddings. Should be of dimensions samples x features.
- knn_data
NearestNeighboursclass from R.- k
Integer. Number of nearest neighbours to consider.
- fa2_params
Named list. List that contains all of the key parameters for the graph generation and ForceAtlas2 optimisation.
- seed
Integer. Seed for reproducibility.
- use_high_precision
Optional logical. Controls
fp32vsfp64. IfNULLwill use sensible default thresholding.- verbose
Integer. If
0L-> silent or1Lfor normal verbosity;2Lfor detailed verbosity.