tests/testthat/test-split_and_rephase.R

context("Split and rephase")
test_that("split and rephase the map correctly", {
  ##### Tetraploid
  map<-get_submap(solcap.err.map[[1]], 1:20)
  tpt<-est_pairwise_rf(make_seq_mappoly(map))
  map2<-split_and_rephase(map, tpt, gap.threshold = 2)
  expect_is(map2, "mappoly.map")
})

Try the mappoly package in your browser

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

mappoly documentation built on Jan. 6, 2023, 1:16 a.m.