Permanova between a otutab and a variable (added two)

permanova2(
  otutab,
  envs,
  norm = TRUE,
  each = TRUE,
  method = "adonis",
  dist = "bray",
  two = FALSE,
  nperm = 999,
  ...
)

Arguments

otutab

an otutab data.frame, samples are columns, taxs are rows.

envs

factors need to test

norm

should normalize?(default:TRUE)

each

test factor one by one, rather than whole

method

adonis/mrpp/anosim/mantel

dist

if use pcoa or nmds, your can choose a dist method (default: bray)

two

two by two adonis test

nperm

numbers of permutations to perform

...

additional