A utility function that writes the two data frames outputted by apply.polygenic.score to two tab-delimited text files.
write.apply.polygenic.score.output.to.file(
apply.polygenic.score.output,
output.dir,
file.prefix = NULL
)list of two data frames: pgs.output and regression.output
character string of the path to write both output files
character string of the file prefix to use for both output files