Skip to main content

Crate rsomics_bioenv

Crate rsomics_bioenv 

Source

Structs§

DistanceMatrix
A square, symmetric distance matrix with sample ids, in row-major order.
EnvTable
Environmental variables table: samples (rows) × numeric variables (columns).
SizeBest
Standardized
Standardized env variables stored column-major (vars.len() columns of n).

Functions§

bioenv
BIO-ENV: for each subset size 1..=p, the variable subset whose standardized Euclidean distances are maximally Spearman-correlated with the community distances. dm_flat is the community matrix’s condensed upper triangle.
read_env
read_matrix
run_bioenv
Select columns (or all), standardize onto the matrix ids, and run BIO-ENV.
write_result