This function assesses the significance of ABC model results through randomization. It generates a null distribution by permuting the co-occurrence matrix.
perm_test_abc(abc_results, co_matrix, n_permutations = 1000, alpha = 0.05)A data frame with ABC results and permutation-based significance measures.
A data frame containing ABC results.
The co-occurrence matrix used to generate the ABC results.
Number of permutations to perform.
Significance level.