Runs PLINK from within R.
utils.plink.run(
dir.in,
plink.cmd = "plink",
plink.path = "path",
out = "hapmap1",
syntax,
verbose = NULL
)
A character vector with the command used for PLINK.
The path where the data files are
The 'name' to call plink. This will depend on the file name (without the extension '.exe' if on windows) or the name of the PATH variable
The path where the executable is. If plink is listed in the PATH then there is no need for this. This is what the option "path" means
The root of the output file name
the flags to pass to plink call
Verbosity: 0, silent or fatal errors; 1, begin and end; 2, progress log; 3, progress and results summary; 5, full report [default NULL].
Custodian: Carlo Pacioni and Luis Mijangos (Post to https://groups.google.com/d/forum/dartr)
PLINK needs to be installed on the machine and syntax used need to be appropriate for the version installed.
Purcell, Shaun, et al. 'PLINK: a tool set for whole-genome association and population-based linkage analyses.' The American journal of human genetics 81.3 (2007): 559-575.