run_mendel: Run the mendel binary in directory Dir using control file...

View source: R/mendel-interface.R

run_mendelR Documentation

Run the mendel binary in directory Dir using control file Control

Description

Run the mendel binary in directory Dir using control file Control

Usage

run_mendel(
  Dir,
  Control,
  discard_stderr = getOption("CKMRsim.discard_stderr", default = FALSE),
  discard_stdout = getOption("CKMRsim.discard_stdout", default = FALSE)
)

Arguments

Dir

the directory in which to run mendel

Control

the "control file" with which to run mendel. If not an absolute path it should be given relative to the Dir directory.

discard_stderr

If TRUE, stderr is discarded Otherwise, it gets written to the R console.

discard_stdout

If TRUE, stdout is discarded. Otherwise, it gets written to the R console.

Examples

## Not run: 
# first prepare the input files and define tmpDir
example(write_all_mendel_files)

# then run mendel
run_mendel(tmpDir, "mendel-example-Control.in")

## End(Not run)

eriqande/CKMRsim documentation built on Aug. 2, 2024, 7:23 a.m.