The loci_modules function allows the user to find groups of covarying loci on the RDA space.
loci_modules(RDA, nb_clusters)A list containing :
loci : a data.frame with the cluster associated with each locus
polygons : polygon coordinates to outline the different cluster on a 2D RDA space
Identify a discrete number of adaptive groups across the 2D RDA space. Next version will use more than two dimensions