powered by
FamiliasPedigree: a function for constructing Familias pedigree format.
FamiliasPedigree(id, dadid, momid, sex)
A dataframe with probabilities.
individual id
father id
mother id
biological sex
persons <- c("mother", "child", "AF") sex <- c("female", "female", "male") ped1 <- FamiliasPedigree(id = persons, dadid = c(NA, "AF", NA),momid = c(NA, "mother", NA), sex=sex)
Run the code above in your browser using DataLab