# NOT RUN {
### Example 1: Siblings
x = nuclearPed(2)
# Simulate 100 markers
x = markerSim(x, N = 100, alleles = 1:4, seed = 123, verbose = FALSE)
# Estimate Delta (expectation = (0,0,0,0,0,0,1/4,1/2,1/4))
ibdEstim(x, ids = 3:4)
### Example 2: Full sib mating
y = fullSibMating(1)
# Simulate 200 SNP markers
y = markerSim(y, N = 1000, alleles = 1:10, seed = 123, verbose = FALSE)
# Estimate
ibdEstim(y, ids = 5:6, param = "delta")
# }
Run the code above in your browser using DataLab