write.apply.polygenic.score.output.to.file {ApplyPolygenicScore}R Documentation

Write apply.polygenic.score output to file

Description

A utility function that writes the two data frames outputted by apply.polygenic.score to two tab-delimited text files.

Usage

write.apply.polygenic.score.output.to.file(
  apply.polygenic.score.output,
  output.dir,
  file.prefix = NULL
)

Arguments

apply.polygenic.score.output

list of two data frames: pgs.output and regression.output

output.dir

character string of the path to write both output files

file.prefix

character string of the file prefix to use for both output files


[Package ApplyPolygenicScore version 3.0.1 Index]