Andre Rovai
2012-11-24 22:40:55 UTC
Dear friends,
I have been recently introduced to R and am dedicating myself to go deeper
on it. It can be tricky sometimes for a rookie, though!
I ran a PERMANOVA (vegan package) using the adonis() function and tried to
go deeper in the analysis by running a post-hoc test (betadisper()). I do
appreciate if someone more familiarized with codes related to the post-hoc
analysis could validate the way I am headed to. Here are the codes I used:
# permanova
fl.sem.transf.bray <- vegdist(fl, method="bray")
flfat <- read.table("flfator2.txt", header=T, row.names=1)
adonis(fl.sem.transf.bray ~ loc*trat, data=flfat, strata=flfat$trat,
permutations=999) # there was significant difference for the interaction
# post-hoc test
phoc <- with(flfat, betadisper(fl.sem.transf.bray, trat))
TukeyHSD(phoc)
Thank you!
Andre Rovai
[[alternative HTML version deleted]]
I have been recently introduced to R and am dedicating myself to go deeper
on it. It can be tricky sometimes for a rookie, though!
I ran a PERMANOVA (vegan package) using the adonis() function and tried to
go deeper in the analysis by running a post-hoc test (betadisper()). I do
appreciate if someone more familiarized with codes related to the post-hoc
analysis could validate the way I am headed to. Here are the codes I used:
# permanova
fl.sem.transf.bray <- vegdist(fl, method="bray")
flfat <- read.table("flfator2.txt", header=T, row.names=1)
adonis(fl.sem.transf.bray ~ loc*trat, data=flfat, strata=flfat$trat,
permutations=999) # there was significant difference for the interaction
# post-hoc test
phoc <- with(flfat, betadisper(fl.sem.transf.bray, trat))
TukeyHSD(phoc)
Thank you!
Andre Rovai
[[alternative HTML version deleted]]