std_name_evoregion | R Documentation |
Although the results of 'find.cluster' are consistent when function is runned multiple times, the order of the names of the groups are random. Here, the function reorder the name of the groups following the sequence the appear in the vector.
std_name_evoregion(clust_evoreg)
clust_evoreg |
group vector from the 'adegenet::find.clusters' |
The function was designed to be used within the function `calc_evoregions`
factor vector with the groups
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.