Dear R listers,

I have a data file looks like the following:

Testing marker:                           s_1
---------------------------------------------

Allele   df(0) -LnLk(0)   df(T) -LnLk(T)   ChiSq       p
     3 7995 29320.30 7994 29311.85 16.90 4e-05 (2229/8000 probands)

Testing marker:                           s_2
---------------------------------------------

Allele   df(0) -LnLk(0)   df(T) -LnLk(T)   ChiSq       p
     3 7995 29339.25 7994 29338.31 1.88 0.1702 ( 121/8000 probands)

Testing marker:                           s_3
---------------------------------------------

Allele   df(0) -LnLk(0)   df(T) -LnLk(T)   ChiSq       p
     3 7995 29340.83 7994 29338.97 3.71 0.0540 (2429/8000 probands)

There are 10,000 testing markers, s_1 to s_10000. I want to read in all the 'p' values of the testing markers from this file. How can I do this?

Thank you!

xiang

______________________________________________
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.

Reply via email to