This function allows the a posteriori filtering on the number of sites/individuals.
post_filt_nb_sites(
mini_post,
maxi_post,
nb_sites,
index_clusters_temp,
matrix_clusters
)
The detecting clusters with the a posteriori filtering.
numeric. A minimum to filter the significant clusters a posteriori. The default NULL is for no filtering with a a posteriori minimum.
numeric. A maximum to filter the significant clusters a posteriori. The default NULL is for no filtering with a a posteriori maximum.
numeric. The number of sites/individuals.
numeric vector. The indices of the detected clusters.
numeric matrix. Matrix in which each column represents a potential cluster. A value of 1 indicate that the site (or the individual) is in the cluster, 0 otherwise.