calculate_permanova: Multivariate analysis - PERMANOVA

View source: R/fct_stats_multi.R

calculate_permanovaR Documentation

Multivariate analysis - PERMANOVA

Description

Function to perform a permutational analysis of variance

Usage

calculate_permanova(
  abun_table,
  metadata,
  vars,
  distance = "bray",
  assess = "model",
  use_interaction = FALSE,
  strata = NULL
)

Arguments

abun_table

Feature abundance table with features as rows and samples as columns

vars

Independent variables

distance

Dissimilarity distance to calculate. Available options are those from vegan::vegdist()

use_interaction

Calculate interaction of selected variables

strata

Variable to define sample blocks

Value

Object returned depend on the selected method


Coayala/MetaboTandem documentation built on June 9, 2025, 9:02 p.m.