check_cross2: Check a cross2 object

Description Usage Arguments Details Value Examples

Description

Check the integrity of the data within a cross2 object.

Usage

1
check_cross2(cross2)

Arguments

cross2

An object of class "cross2". For details, see the R/qtl2 developer guide.

Details

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

Value

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

Examples

1
2
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2"))
check_cross2(grav2)

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