[R] paired or one-sample t-Test

From: Keizer_71 <christophe.lo_at_gmail.com>
Date: Tue, 04 Mar 2008 03:05:11 -0800 (PST)

Hi Guys,

I am having a real hard time trying to figure out for microarry.

Here is my code

One-Sample t-Test

[1] 10000 140 ##there are 10000 probesets and 140 columns

hist(data.sub) ## Histogram. Identify if the probesets are normal distributed
q<-rnorm(10000) ##generate 10000 random, normal distributed values

qqplot(data.sub,q)) ##Show the plot of the probeset
qqline(data.sub,q) ##Show the line going through the plot
t.test(data.sub,mu=0) ## One Sample t-test: identify any significant in the

When i plot and use histogram, it is showing a nice normal distribution.

What i want to do is to use classical paired or one-sample test for each row (10000 rows)

what is the best way to do this?


View this message in context: http://www.nabble.com/paired-or-one-sample-t-Test-tp15824910p15824910.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 04 Mar 2008 - 11:22:29 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 04 Mar 2008 - 16:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive