Last chance! 50% off unlimited learning
Sale ends in
Read QTL data from a set of files
read_cross2(file, quiet = TRUE)
Object of class "cross2"
. For details, see the
R/qtl2 developer guide.
A control file in YAML or JSON format contains information about basic parameters as well as the names of the series of data files to be read. See the sample data files and the vignette describing the input file format.
read_pheno()
, write_control_file()
,
sample data files at https://kbroman.org/qtl2/pages/sampledata.html
and https://github.com/rqtl/qtl2data
if (FALSE) {
yaml_file <- "https://kbroman.org/qtl2/assets/sampledata/grav2/grav2.yaml"
grav2 <- read_cross2(yaml_file)
}
zip_file <- system.file("extdata", "grav2.zip", package="qtl2")
grav2 <- read_cross2(zip_file)
Run the code above in your browser using DataLab