powered by
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
umx_file_load_pseudo(fn, bp, suffix = "_NT", chosenp = "S5")
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")
dataframe of real and pseudo PRS columns
Other File Functions: dl_from_dropbox(), umx_make_sql_from_excel(), umx_move_file(), umx_open(), umx_rename_file(), umx_write_to_clipboard(), umx
dl_from_dropbox()
umx_make_sql_from_excel()
umx_move_file()
umx_open()
umx_rename_file()
umx_write_to_clipboard()
umx
# NOT RUN { basepath = "~/Dropbox/2016 (1). project EA/2018/EA3/" tmp = umx_file_load_pseudo("PRS_EA3_R9_autosomes_HRC1.1_pseudo.txt", bp = bp) str(tmp) head(tmp[, c("BMIS4", "BMIS4_NT")] # }
Run the code above in your browser using DataLab