pairwise.adonis: this function taken from...

Description Usage Arguments Value Examples

View source: R/functions.R

Description

this function taken from https://www.researchgate.net/post/How_can_I_do_PerMANOVA_pairwise_contrasts_in_R

Usage

1
2
3
4
5
6
7
pairwise.adonis(
  x,
  factors,
  sim.method = "bray",
  p.adjust.m = "none",
  permutations = 999
)

Arguments

x

An OTU table with taxa as columns and samples as rows

factors

a vector containing the groups you want compared

sim.method

distance metric to use for (dis)similarity values, default is 'bray'

p.adjust.m

method to use for pvalue correction.

permutations

number of permutations to use

Value

returns a dataframe containing the PERMANOVA rsq, fstat, and pvalue for each pariwise comparison

Examples

1
#soon

Jtrachsel/funfuns documentation built on Aug. 8, 2021, 7:31 p.m.