FamiliasPedigree: FamiliasPedigree: a function for constructing Familias...

View source: R/FamiliasPedigree.R

FamiliasPedigreeR 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)

fbnet documentation built on July 9, 2023, 6:24 p.m.