Description Usage Arguments Details Value See Also Examples
Zip a set of data files (in format read by read_cross2()
).
1 | zip_datafiles(control_file, zip_file = NULL, quiet = TRUE)
|
control_file |
Character string with path to the control file (YAML or JSON) containing all of the control information. |
zip_file |
Name of zip file to use. If NULL, we use the
stem of |
quiet |
If |
The input control_file
is the control file (in
YAML or JSON format)
to be read by read_cross2()
. (See the
sample data files and the
vignette describing the input file format.)
The utils::zip()
function is used to do the zipping.
The files should all be contained within the directory where the
control_file
sits, or in a subdirectory of that directory.
If file paths use ..
, these get stripped by zip, and so the
resulting zip file may not work with read_cross2()
.
Character string with the file name of the zip file that was created.
read_cross2()
, sample data files at http://kbroman.org/qtl2/pages/sampledata.html
1 2 3 4 5 | ## Not run:
control_file <- "~/grav2_data/grav2.yaml"
zip_datafiles(control_file, "grav2.zip")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.