data(ped.list)
plot(ped.list[[54]])
trio.obj = ped2trio(ped.list[[54]])
GeneDropSimExcessSharing.fn(trio.list = trio.obj$object, id = ped.list[[54]]$id,
dt.vec = c("40","47"), fd.indices = trio.obj$fd.indices, phihat=0.005,RVfreq=0.01,
ord=5, n = 2e3)
# Result should be higher than exact value under the assumption of a variant frequency
# tending to 0 and no unknown relationship among founders
RVsharing(ped.list[[54]])
Run the code above in your browser using DataLab