LightPERMANOVA#
- class permanova.permanova_np.lightpermanova.LightPERMANOVA(sample_1: ndarray, compress: bool = True)[source]#
Bases:
objectClass to perform PERMANOVA between two samples.
- run_simulation(new_sample: ndarray, tot_permutations: int) float[source]#
- Parameters:
new_sample (np.ndarray) – sample that will be compared with sample_1
tot_permutations (int) – total number of permutations
- Returns:
p_value (null hypothesis is sample_1 and new_sample are not different)
- Return type:
float