FamiliasPedigree {fbnet} | R Documentation |
FamiliasPedigree: a function for constructing Familias pedigree format.
Description
FamiliasPedigree: a function for constructing Familias pedigree format.
Usage
FamiliasPedigree(id, dadid, momid, sex)
Arguments
id |
individual id |
dadid |
father id |
momid |
mother id |
sex |
biological sex |
Value
A dataframe with probabilities.
Examples
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)
[Package fbnet version 1.0.3 Index]