This function finalizes the scan procedures.
FinScan(
index_clusters_temp,
index,
filtering_post,
type_minimaxi_post,
mini_post,
maxi_post,
nb_sites,
matrix_clusters,
radius,
areas,
centres,
pvals,
maximize = TRUE
)
The list of the following elements:
pval_clusters: pvalues of the selected clusters.
sites_clusters: the indices of the sites of the selected clusters.
centres_clusters: the coordinates of the centres of each selected cluster.
radius_clusters: the radius of the selected clusters.
areas_clusters: the areas of the selected clusters.
numeric vector. Indices of the significant clusters.
numeric vector. Index of concentration for each potential cluster.
logical. Is there an a posteriori filtering?
character. Type of minimum and maximum a posteriori: by default "sites/indiv": the mini_post and maxi_post are on the number of sites or individuals in the significant clusters. Other possible values are "area": the minimum and maximum area of the clusters, or "radius": the minimum and maximum radius.
numeric. A minimum to filter the significant clusters a posteriori (see type_minimaxi_post). The default NULL is for no filtering with a a posteriori minimum.
numeric. A maximum to filter the significant clusters a posteriori (see type_minimaxi_post). The default NULL is for no filtering with a a posteriori maximum.
numeric. The number of considered sites or individuals.
matrix. The matrix of potential clusters taking the value 1 at lign i and column j if the cluster j contains the site i, 0 otherwise.
numeric vector. The radius of the potential clusters.
numeric vector. The areas of the potential clusters.
numeric matrix. The coordinates of the centres of each potential cluster.
numeric vector. The pvalue of each potential cluster.
logical. Should the index be maximized? By default TRUE. If FALSE it will be minimized.