# NOT RUN {
# Four siblings; the fourth is missing
x = nuclearPed(4)
# Remaining sibs typed with 4 triallelic markers
x = markerSim(x, N = 4, ids = 3:5, alleles = 1:3, seed = 577, verbose = FALSE)
# Add marker with inconsistency in reference genotypes
# (this should be ignored by `missingPersonEP()`)
badMarker = marker(x, `3` = 1, `4` = 2, `5` = 3)
x = addMarkers(x, badMarker)
# Compute exclusion power statistics
# missingPersonEP(x, missing = 6)
# With marker names:
name(x, 1:5) = paste0("M", 1:5)
# missingPersonEP(x, missing = 6)
# }
Run the code above in your browser using DataLab