GxE.scan.combine {CGEN} | R Documentation |
Combines the output files from running GxE.scan on a cluster.
GxE.scan.combine(out.file, dir.or.files, pattern="GxEout_")
out.file |
Name of the output file of combined results. No default. |
dir.or.files |
Directory containing the output files from |
pattern |
Character string to match file names when |
This function would be called after all the submitted jobs from
GxE.scan.partition
have finished running.
It is assumed that the files to be combined all have a header of variable names.
A character vector of the files combined.
out.file <- "/data/results/all_output.txt" dir <- "/data/out" # GxE.scan.combine(out.file, dir)