test_that("cross2_do_to_genail works", {
    if(isnt_karl()) skip("this test only run locally")

    file <- paste0("https://raw.githubusercontent.com/rqtl/",
    DOex <- read_cross2(file)

    DOex_genail <- cross2_do_to_genail(DOex)

    DOex$crosstype <- "genail8"
    DOex$cross_info <- cbind(DOex$cross_info + 5L,
                             A=1L, B=1L, C=1L, D=1L,
                             E=1L, F=1L, G=1L, H=1L)

    expect_equal(DOex_genail, DOex)


Try the qtl2convert package in your browser

Any scripts or data that you put into this service are public.

qtl2convert documentation built on Oct. 7, 2021, 9:27 a.m.