Hi,

Can anyone guide me how to write proper code for Adonis in R with Strata argument ? I have ran core_diversity.py on my 20 paired samples and although you can use qiime script for Adonis , there is no support for Strata argument in qiime. I am attaching both map and matrix file. In my experiment column header "Patients" will be blocking variable and "Stage" will b the comparison.  

I tried so far,

adonis(formula= CNV.dist ~ Stage , data=CNVMap, strata=data$Patients, permutations=5000)

error - eval(expr, envir, enclos) : object 'Stage' not found

Thanks

Deep

Similar questions and discussions