Open Gian77 opened 8 months ago
Hi Gian,
Yes, in the 'certainty_of_diffs' object, a 1 or 0 means all the samples had higher/lower abundance in one treatment group than the other.
Regarding the output of diff_abund_test$features_that_differed the effect size is the mean of the posterior probability distribution of the differences in parameters between the treatment groups. The probability of the difference refers to where zero is in that posterior distribution of differences. See lines 286 and onwards in converg_func.R.
Hi Josh, thanks for th reply. So the higher the probability_of_difference the more likely an ASV has a difference in the treatment_1_vs_treatment_2 comparison, and the effect size is the difference in relative abundance (or read counts) between the two conditions, right? Thank you, Gian
Hi @JHarrisonEcoEvo,
Can you provide an explnation of what denotes differentially abudant features from the output of
diff_abund
function? I tried to follow your RPubs vignette and read the paper, but this point isn't touch anywhere. The video isn't available anymore too.This is the result of my differential abundance below
In particular, I only have two treatments, how should I interpret the comparison? For example in ASV_1, since
treatment_1_vs_treatment_2
is 1 andtreatment_2_vs_treatment_1
is 0, this means that all the samples in treatment_1 have a higehr abundance that in treatment_2, is that correct?Additionally, regarding the
diff_abund_test$features_that_differed
output, what are theprobability_of_difference
, andeffect size
?Thanks much, I think many will benefit for this clarifications.
Gian