if(require(gdata))
data(Mrode2.1)
Mrode2.1$dtB <- as.Date(Mrode2.1$dtB)
x2.1 <- Pedigree(x=Mrode2.1, subject="sub", ascendant=c("fat", "mot"),
ascendantSex=c("M", "F"), family="fam", sex="sex",
generation="gen", dtBirth="dtB")
fractions(geneFlowT(x2.1))
fractions(geneFlowTinv(x2.1))
fractions(gameteFlowM(x2.1))
mendelianSamplingD(x2.1)
Run the code above in your browser using DataLab