Read in PRS scored files from pseudocons.
Read the file
Break it into pseudo and real rows
Clean-up by deleting the pseudo suffix
Rename NT vars with a suffix
Merge files on ID and return
| ID | FID | BMIS1 | BMIS2 | BMIS3 | BMIS4 | ... | |
| 1 | 1234501 | 12345 | -0.032 | -0.77 | -0.40 | -3.87 | ... |
| 2 | 1234501-pseudo-1 | 12345 | 0.117 | -0.66 | -0.33 | -4.08 | ... |
umx_file_load_pseudo(fn, bp, suffix = "_NT", chosenp = "S5")dataframe of real and pseudo PRS columns
The filename
The path to the folder containing the file
to add to the NT columns (Default = "_NT")
The suffix (pvalue) we desire to use (Default = "S5")
Other File Functions:
dl_from_dropbox(),
umx_make_sql_from_excel(),
umx_move_file(),
umx_open(),
umx_rename_file(),
umx_write_to_clipboard(),
umx