magnusdv / ibdsim2

Simulate patterns of DNA sharing between pedigree members
https://magnusdv.github.io/pedsuite/
5 stars 2 forks source link

plot_ibd1 #6

Closed thoree closed 6 years ago

thoree commented 6 years ago

plot_ibd1 fails, apparently because there are no ibd segments

library(ibdsim2, quietly = TRUE)
x = halfCousinPed(10)
s = ibdsim(x, sims = 1, verbose = FALSE)
plot_ibd1(s)
#> Error in seq.default(xmin, max.x, length = 10): 'from' must be a finite number

Created on 2018-10-09 by the reprex package (v0.2.1)

magnusdv commented 6 years ago

Thanks, fixed now.