[R] How to rum Multiple ANOVA and Multiple T-test between the same groups?
Boris Steipe
bor|@@@te|pe @end|ng |rom utoronto@c@
Mon Feb 11 02:57:16 CET 2019
You need to spend more time getting clear on the fundamentals, what the Bioconductor project is and why its packages are useful in our domain. Bioconductor packages are not installed with the install.packages() function; that is for packages on CRAN. Instead, you use ...
install.packages("BiocManager") # BiocManagere IS hosted on CRAN
BiocManager::install("genefilter") # BiocManagerinstalls "genefilter" from bioconductor.org
Now, _do_ read the documentation, and pay special attention to the vignettes!
https://cran.r-project.org/web/packages/BiocManager/index.html
https://bioconductor.org/packages/release/bioc/html/genefilter.html
B.
> On 2019-02-10, at 17:44, AbouEl-Makarim Aboueissa <abouelmakarim1962 using gmail.com> wrote:
>
> Dear Prof Kohl:
>
>
> I am trying to install the "genefilter" package, but I got the following
> error message(s). I am not sure which R version should be used for this
> package.
>
>
> *For R.3.5.2:*
>
>> install.packages("genefilter")
> Installing package into ‘C:/Users/aaboueissa/Documents/R/win-library/3.5’
> (as ‘lib’ is unspecified)
> Warning message:
> package ‘genefilter’ is not available (for R version 3.5.2)
>
>
> *For R.3.3.2:*
>
>> install.packages("Bioconductor")
> Installing package into ‘C:/Users/aaboueissa/Documents/R/win-library/3.3’
> (as ‘lib’ is unspecified)
> --- Please select a CRAN mirror for use in this session ---
> Warning message:
> package ‘Bioconductor’ is not available (for R version 3.3.2)
>
>
> with many thanks
> abou
> ______________________
>
>
> *AbouEl-Makarim Aboueissa, PhD*
>
> *Professor, Statistics and Data Science*
> *Graduate Coordinator*
>
> *Department of Mathematics and Statistics*
> *University of Southern Maine*
>
>
>
> On Sun, Feb 10, 2019 at 10:52 AM Prof. Dr. Matthias Kohl <
> Matthias.Kohl using stamats.de> wrote:
>
>> Have a look at Bioconductor package genefilter, especially functions
>> colttests and colFtests.
>> Best Matthias
>>
>> Am 10.02.19 um 10:35 schrieb AbouEl-Makarim Aboueissa:
>>> Dear All: good morning
>>>
>>>
>>>
>>>
>>>
>>> *Re:* How to rum Multiple ANOVA and Multiple T-test between the same
>> groups.
>>>
>>>
>>>
>>> Your help will be highly appreciated.
>>>
>>>
>>>
>>>
>>>
>>> *1.* is there a way to run multiple t-tests on different variables
>> between
>>> the same two groups.
>>>
>>>
>>>
>>>
>>>
>>> *Data for t-tests:*
>>>
>>>
>>>
>>> The data frame “dataTtest” has 5 variables (x1,x2,x3,x4,x5) and one
>> factor
>>> (factor1) with 2 levels (group1, group2).
>>>
>>>
>>>
>>>
>>>
>>> x1<-rnorm(20,1,1)
>>>
>>> x2<-rnorm(20,2,1)
>>>
>>> x3<-rnorm(20,3,1)
>>>
>>> x4<-rnorm(20,4,1)
>>>
>>> x5<-rnorm(20,5,1)
>>>
>>> factor1<-rep(c("group1", "group2"), each = 10)
>>>
>>> dataTtest<-data.frame(x1,x2,x3,x4,x5,factor1)
>>>
>>> dataTtest
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *2.* is there a way to run *multiple ANOVA* and multiple comparisons
>> *Tukey
>>> tests* on different variables between the same groups.
>>>
>>>
>>>
>>>
>>>
>>> *Data for ANOVA tests:*
>>>
>>>
>>>
>>> The data frame “dataANOVA” has 6 variables (x1,x2,x3,x4,x5,x6) and one
>>> factor (factor2) with 5 levels (group1, group2, group3, group4, group5).
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> x1<-rnorm(40,1,1)
>>>
>>> x2<-rnorm(40,2,1)
>>>
>>> x3<-rnorm(40,3,1)
>>>
>>> x4<-rnorm(40,4,1)
>>>
>>> x5<-rnorm(40,5,1)
>>>
>>> x6<-rnorm(40,6,1)
>>>
>>> factor2<-rep(c("group1", "group2", "group3", "group4", "group5"), each =
>> 8)
>>>
>>> dataANOVA<-data.frame(x1,x2,x3,x4,x5,x6,factor2)
>>>
>>> dataANOVA
>>>
>>>
>>>
>>>
>>>
>>> with many thanks
>>>
>>> abou
>>> ______________________
>>>
>>>
>>> *AbouEl-Makarim Aboueissa, PhD*
>>>
>>> *Professor, Statistics and Data Science*
>>> *Graduate Coordinator*
>>>
>>> *Department of Mathematics and Statistics*
>>> *University of Southern Maine*
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> ______________________________________________
>>> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>>> https://stat.ethz.ch/mailman/listinfo/r-help
>>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>>> and provide commented, minimal, self-contained, reproducible code.
>>>
>>
>> --
>> Prof. Dr. Matthias Kohl
>> www.stamats.de
>>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list