cross2rds: Read cross and save as rds

View source: R/cross2rds.R

cross2rdsR Documentation

Read cross and save as rds

Description

Read cross files and save as rds

Usage

cross2rds(input_file, output_file, compress = FALSE)

Arguments

input_file

Character string with path to the YAML or JSON file containing all of the control information. This could instead be a zip file containing all of the data files, in which case the contents are unzipped to a temporary directory and then read.

output_file

Character string with path to RDS file for output

compress

If TRUE, save a compressed RDS file (smaller but slower).

Examples

input_file <- paste0("https://github.com/rqtl/qtl2data/",
                     "blob/master/B6BTBR/b6btbr.zip")
## Not run: cross2rds(input_file, "b6btbr.rds")

rqtl/qtl2cl documentation built on Oct. 13, 2024, 1:11 a.m.