'Extract Alpha Diversity Output into excel or .csv file from phyloseq package
Does anyone know how to extract alpha diversity outputs from the estimate_richness()
function from the phyloseq package? I am having a hard time finding the correct way to format the data. I also use the Dunn Test and want to extract the Z and p-values.
alpha.pb2<-estimate_richness(post.bloat.two)
cbind.pb2 <- cbind(sample_data(post.bloat.two), alpha.pb2)
dunnTest(Chao1~location, data=cbind.pb2, method="bh") #want to extract this output
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|