[R] ANOVA help

David Winsemius dwinsemius at comcast.net
Wed Jun 20 14:48:16 CEST 2012


On Jun 19, 2012, at 5:36 PM, James Johnson wrote:

> Hi All,
>
> I have a microarray dataset as follows:
>
>                           expt1 expt2 expt3  expt4 expt 5
>
> gene1                val      val     val      val     val
>
> gene2                val      val     val      val    val
>
> .
> .
> ..
> gene15000       val       val     val      val     val
>
>
> The result is from the same organism in four different experiments.   
> Also, there are 4 replicates of each experiment. My aim was to find  
> genes that are statistically significant across the four  
> experiments. I carried out one-way anova as follows:
>
>
> sTest<-read.table("myData.dat",header = T, row.names = 1)
> group <- gl(4,4,16, label=c("Glucose","Citrate", "Tide","Dawn"))
>
> gm1 <- (x~group, data=sTest)
>
> I received error messages that "x" is unknown, and did not know how  
> to go further from here.

>
This appears to be a college homework assignment and as such is quite  
possibily inappropriate submission to Rhelp. If not, you should post  
the results of str(sTest).

You should also read the Posting Guide and learn to post in plain text.
>
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html

> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
West Hartford, CT



More information about the R-help mailing list