[R] Reshaping genetic data from long to wide

Farrel Buchinsky fbuchins at wpahs.org
Tue Apr 11 02:11:06 CEST 2006


1) I know how to post to the list. You simply send an e-mail to
R-help at stat.math.ethz.ch. But how do you read the items and respond to them?
I usually read the items at
http://tolstoy.newcastle.edu.au/R/help/06/04/index.html#end and then have to
jump through some hoops to answer back.
 Is there any way to access this group through Google Groups or through
Outlook express' user group feature?

2)Storing all the SNP data as a string seems quite clever and a space-saving
way of doing it. However, if you were to analyze a whole chromosome at a
time you would still be creating one almighty big table albeit only
temporarily. Do you use R to run TDT analyses? If so, how are you setting up
your data frames and then what commands do you issue to analyze what is in
your dataframes?

I used David Clayton's Stata add on a few months ago and was able to get it
to run through the analysis. I ran just one locus. Technically, the analysis
seemed to run OK but I want to run all the loci one after the other. 

Currently I have my data such that I can access it from R through an ODBC
connection to Microsoft Access which in turn has an ODBC connection to the
Sybase database. Whether I go through strings or not, I still need to find a
way that I can assemble it so that a program can systematically run a TDT
analysis on all the loci. I can see how strings help me in my storing of the
data but that is already a fait acomplis. Can you explain to me how it would
help me with sequential analysis of each locus? Do you have any history
files so that I can see what you were doing?

Farrel Buchinsky, MD
Pediatric Otolaryngologist
Allegheny General Hospital
Pittsburgh, PA 


**********************************************************************
This email and any files transmitted with it are confidentia...{{dropped}}




More information about the R-help mailing list