View source: R/mendel-interface.R
write_all_mendel_files | R Documentation |
Writes all files in the directory Dir but does not launch mendel.
write_all_mendel_files(ID, Reps, Seed, Markers, Pedigree, Dir = ".")
ID |
The ID or identifier of the run. This string will be prepended to all input and output files. |
Reps |
The number of replicate data sets to simulate. |
Seed |
The random seed to use. This must be a single integer between 1 and 30,000. |
Markers |
A data frame in the format of |
Pedigree |
A data frame formatted like any component of |
Dir |
The directory in which to write the files. It must be created already. Defaults to the current working directory. |
# make a temp directory to place things into:
tmpDir <- tempdir()
write_all_mendel_files("mendel-example", 10, 1234, long_markers, pedigrees$HS, Dir = tmpDir)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.