validate_ped
thoree opened this issue · 0 comments
thoree commented
library(pedtools)
x = nuclearPed(nch = 2, children = 3:4)
validate_ped(x) # OK, but
x = nuclearPed(nch = 2, children = 1:2)
validate_ped(x)
#> Error: Malformed pedigree.
#> Duplicated ID label: 1
#> Duplicated ID label: 2
Created on 2018-08-15 by the reprex package (v0.2.0).