Hi, If you want to see any result by gene, you should apply the function by genes, not by samples. As I understood, you are applying the test with the columns Samplea and SamplVehicle, but what you need is a result per row (per gene). Then you will see wich of the genes are significant.
Regards > Date: Tue, 24 Feb 2009 15:26:55 +0000 > From: amitrh...@yahoo.co.uk > To: r-help@r-project.org > Subject: [R] Help with t.test > > > Hi I have managed to do a paired t-test with a data set > > i have 5 colums of data im dealing with > > > GENE SampA SampB SampC SampVehicle > ctcc 859 na 145 24 > gtcg 45 5 54 69 > > and so on but they are much larger columns > > each column has been split and i can do t.test on for eg sampA by doing > t.test(sampA, SampVehicle, na.rm=TRUE, paired=TRUE, conf.level=0.95) > > what can I do to be able to identify which of the genes are responsible for > the most variance or are the most significant. > > THANKS IN ADVANCE > > > > > > ______________________________________________ > R-help@r-project.org mailing list > 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. _________________________________________________________________ [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list 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.