Learn R Programming

qtl2 (version 0.36)

check_cross2: Check a cross2 object

Description

Check the integrity of the data within a cross2 object.

Usage

check_cross2(cross2)

Value

If everything is correct, returns TRUE; otherwise FALSE, with attributes that give the problems.

Arguments

cross2

An object of class "cross2", as output by read_cross2(). For details, see the R/qtl2 developer guide.

Details

Checks whether a cross2 object meets the specifications. Problems are issued as warnings.

Examples

Run this code
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
check_cross2(grav2)

Run the code above in your browser using DataLab