Closed magnusdv closed 10 months ago
library(ribd) #> Loading required package: pedtools x = list(singleton(1), singleton(1)) inbreeding(x) #> 1 1 #> 0 -1 kinship(x) #> 1 1 #> 1 0.5 0 #> 1 0.0 0
Created on 2023-08-18 with reprex v2.0.2
kappaIBD() does better:
kappaIBD()
kappaIBD(x) #> Error: ID label is not unique: 1
Created on 2023-08-18 with reprex v2.0.2