david-barnett / microViz

R package for microbiome data visualization and statistics. Uses phyloseq, vegan and the tidyverse. Docker image available.
https://david-barnett.github.io/microViz/
GNU General Public License v3.0
94 stars 10 forks source link

mixed effect in dist_permanova #106

Closed jorondo1 closed 1 year ago

jorondo1 commented 1 year ago

Using the dist_calc() psExtra output, is it possible to pass a restricted permitation design to adonis2 via dist_permanova? such as suggested here

in adonis2 it would look like this:

h1 <- with(df, how(nperm= 9999, blocks = partID)) 
adonis2(dissMx ~ explVar, data = df, permutations = h1, method = "aitchison")

how would I pass the permutation design to dist_permanova?