Beta diversity group significance
Determine whether groups of samples are significantly different from one
another using a permutation-based statistical test.
Parameters
- distance_matrix : DistanceMatrix
- Matrix of distances between pairs of samples.
- metadata : MetadataColumn[Categorical]
- Categorical sample metadata column.
- method : Str % Choices('permanova', 'anosim', 'permdisp'), optional
- The group significance test to be applied.
- pairwise : Bool, optional
- Perform pairwise tests between all pairs of groups in addition to the
test across all groups. This can be very slow if there are a lot of
groups in the metadata column.
- permutations : Int, optional
- The number of permutations to be run when computing p-values.
Returns
visualization : Visualization