| 102 | |
| 103 | |
| 104 | === Setting up Plink analysis === |
| 105 | |
| 106 | Try the following to see if it works: |
| 107 | * Install [http://pngu.mgh.harvard.edu/~purcell/plink/download.shtml Plink]. |
| 108 | * Put `plink` on your path. |
| 109 | * Upload [http://pngu.mgh.harvard.edu/~purcell/plink/hapmap1.zip example data] in your database. (just '''hapmap1.map''' and '''hapmap1.ped''') |
| 110 | * Create a new ''Analysis'' with target function 'PLINK'. |
| 111 | * Add an R script with function 'run_PLINK'. Let the script download the MAP and PED example files. |
| 112 | * Run Plink system call inside R: `plink --noweb --file hapmap1 --assoc --out results`[[BR]] |
| 113 | * Upload '''results.assoc''' back in database. |