Replies: 2 comments 1 reply
-
I think you would be better off with (And you shouldn't be using |
Beta Was this translation helpful? Give feedback.
-
Hi Gavin thanks for your help I'm pretty new to this. I have a bray curtis dissimilarity matrix that I am using as input, would you be able to give me an idea of how I would use dbrda()? As in how to write out the script? As I said I'm pretty new to this so I'm not entirely sure what statistical test is best for the questions I'm trying to answer. |
Beta Was this translation helpful? Give feedback.
-
I want to look for differences between my samples based on whether they responded to a drug treatment or not, but I am comparing pre and post treatment samples.
For example, my samples are as follows:
Patient 1 has a pre and post sample and did respond to treatment
Patient 2 has a pre and post sample and did not respond to treatment
I want to know if there are any differences within the microbial community of patients who responded compared to those who didnt
Is this code the correct way to do this?
adonis(bray_dist ~ sample_data(physeq)$Response, method = "bray", strata=sample_data(physeq)$Treatment)
Where response is the column of my metadata specifying if they responded or not and treatment is the column specifying if the sample is pre or post treatment
Beta Was this translation helpful? Give feedback.
All reactions