zip_datafiles: Zip a set of data files

Description Usage Arguments Details Value See Also Examples

Description

Zip a set of data files (in format read by read_cross2).

Usage

1
zip_datafiles(yaml_file, zip_file)

Arguments

yaml_file

Character string with path to the yaml file containing all of the control information.

zip_file

Name of zip file to use. If omitted, we use the stem of yaml_file but with a .zip extension.

Details

The input yaml_file is the control file (in YAML format for data to in the format to be read by read_cross2. (See the sample data files and the vignette describing the input file format.)

The zip function is used to do the zipping.

Value

Character string with the file name of the zip file that was created.

See Also

read_cross2, sample data files at http://kbroman.org/qtl2/pages/sampledata.html

Examples

1
2
3
4
5
## Not run: 
yaml_file <- "~/grav2_data/grav2.yaml"
zip_datafiles(yaml_file, "grav2.zip")

## End(Not run)

simecek/qtl2 documentation built on May 29, 2019, 10:01 p.m.