LightPERMANOVA#
- class permanova.permanova_torch.lightpermanova.LightPERMANOVA(sample_1: Tensor, compress: bool = True)[source]#
Bases:
objectClass to perform PERMANOVA between two samples.
- run_simulation(new_sample: Tensor, tot_permutations: int) float[source]#
- Parameters:
new_sample (torch.Tensor) – 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