# HG changeset patch # User lecorguille # Date 1520259891 18000 # Node ID a2b19a78306a7cd7fd8f0d3124805a8b8dcf85b2 # Parent 8190dfb5a351e09dffd7cd055ca8299deab1f1f9 planemo upload for repository https://github.com/workflow4metabolomics/anova commit 493595bdd63ff88e7b93f22d8a092a70d4f39a05 diff -r 8190dfb5a351 -r a2b19a78306a abims_anova.r --- a/abims_anova.r Wed Feb 28 07:37:41 2018 -0500 +++ b/abims_anova.r Mon Mar 05 09:24:51 2018 -0500 @@ -24,7 +24,7 @@ # -- import -- data=read.table(file, header = TRUE, row.names=1, sep = sep, quote="\"", dec = dec, fill = TRUE, comment.char="",na.strings = "NA", check.names=FALSE) - if (mode == "row") data=t(data) + if (mode == "row") {data=t(data)} else {data=as.matrix(data)} sampleinfoTab=read.table(sampleinfo, header = TRUE, row.names=1, sep = sep, quote="\"") rownames(sampleinfoTab) = make.names(rownames(sampleinfoTab)) diff -r 8190dfb5a351 -r a2b19a78306a abims_anova.xml --- a/abims_anova.xml Wed Feb 28 07:37:41 2018 -0500 +++ b/abims_anova.xml Mon Mar 05 09:24:51 2018 -0500 @@ -1,4 +1,4 @@ - + N-way anova. With ou Without interactions @@ -29,7 +29,7 @@ - + @@ -121,6 +121,11 @@ Analysis of variance (ANOVA) is used to analyze the differences between group means and their associated procedures, in which the observed variance in a particular variable is partitioned into components attributable to different sources of variation. +**Note about sum of squares (SS) calculation of N-way ANOVA in this module.** +This module use R function *manova()* (and thus R function *aov()*) to establish N-way ANOVA. +Therefore calculated sum of squares are sequential ones (sometimes called "Type I SS"). +If your design is unbalanced, this may not correspond to the type of hypothesis being of interest. +Note that you can obtain adjusted sums of squares ("Type II SS") by running several times this module with different orders in factors. -----------