I'm trying to use metagenomSeq to perform something like a one-way ANOVA on 3
groups of samples. I have managed to succesfully normalize the data properly with metagenomeSeq but don´t know to run the anova or kruskall-w test with a metagenomeSeq object.
I'm not sure metagenomeSeq is set up to do a Kruskal-Wallis. The closest it gets to doing non-parametric analysis is a permutation null distribution. Anyway, I think the conventional linear modeling is covered pretty well in section 4.2 of the vignette. Have you read that part? If so, is there something you don't understand?
Hi David,
The majority of the answer can be found in these responses:
Moderated t-test in Anovalimma - F-test for many condition
One of the outputs of metagenomeSeq is a MLarrayM object.
fit = fitZig(obj,mod)
fit2 = eBayes(fit$fit)
On fit2 you can then go ahead and use topTable from the limma package.
On 2016-05-11 10:02, James W. MacDonald [bioc] wrote:
> Activity on a post you are following on support.bioconductor.org [1]
>
> User James W. MacDonald [2] wrote Answer: MetagenomSeq, perform anova or kruskall wallis with three groups ? [3]:
>
> I'm not sure metagenomeSeq is set up to do a Kruskal-Wallis. The closest it gets to doing non-parametric analysis is a permutation null distribution. Anyway, I think the conventional linear modeling is covered pretty well in section 4.2 of the vignette. Have you read that part? If so, is there something you don't understand?
> -------------------------
>
> Post tags: metagenomeseq, anova, metagenomics
>
> You may reply via email or visit A: MetagenomSeq, perform anova or kruskall wallis with three groups ?
Links:
------
[1] https://support.bioconductor.org
[2] James W. MacDonald
[3] A: MetagenomSeq, perform anova or kruskall wallis with three groups ?