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

Description Usage Arguments Details Value See Also Examples

View source: R/wga_stream.GxE.R

Description

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

Usage

1
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_".

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.

Value

A character vector of the files combined.

See Also

GxE.scan, GxE.scan.partition

Examples

1
2
3
 out.file <- "/data/results/all_output.txt"
 dir      <- "/data/out"
 # GxE.scan.combine(out.file, dir)

CGEN documentation built on April 28, 2020, 8:08 p.m.