Learn R Programming

CGEN (version 3.8.0)

GxE.scan.combine: Combines output files into one file

Description

Combines the output files from running GxE.scan on a cluster.

Usage

GxE.scan.combine(out.file, dir.or.files, pattern="GxEout_")

Arguments

out.file
Name of the output file of combined results. No default.
dir.or.files
Directory containing the output files from GxE.scan or the full names of the files to be combined. If length(dir.or.files) = 1, then it is assumed to be a directory. No default.
pattern
Character string to match file names when dir.or.files is a directory. The default is "GxEout_".

Value

A character vector of the files combined.

Details

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.

See Also

GxE.scan, GxE.scan.partition

Examples

Run this code
 out.file <- "/data/results/all_output.txt"
 dir      <- "/data/out"
 # GxE.scan.combine(out.file, dir)

Run the code above in your browser using DataLab