powered by
Check the integrity of the data within a cross2 object.
check_cross2(cross2)
If everything is correct, returns TRUE; otherwise FALSE, with attributes that give the problems.
TRUE
FALSE
An object of class "cross2", as output by read_cross2(). For details, see the R/qtl2 developer guide.
"cross2"
read_cross2()
Checks whether a cross2 object meets the specifications. Problems are issued as warnings.
grav2 <- read_cross2(system.file("extdata", "grav2.zip", package="qtl2")) check_cross2(grav2)
Run the code above in your browser using DataLab