Main functions

lfmm_ridge

LFMM least-squares estimates with ridge penalty

lfmm_ridge_CV

Cross validation of LFMM estimates with ridge penalty

lfmm_lasso

LFMM least-squares estimates with lasso penalty

lfmm_test

Statistical tests with latent factor mixed models

effect_size

Direct effect sizes estimated from latent factor models

predict_lfmm

Predict polygenic scores from latent factor models

forward_test

Forward inclusion tests with latent factor mixed models