inst/extdata/custom_pedigree_unrelated_duo.R

#Start the Familias package
#It must be already downloaded with e.g.
#install.packages(Familias)
library(Familias)
#Mother/child
persons <- c("C2","C1")
ped1 <- FamiliasPedigree(id=c(persons), dadid=c(NA, NA),
                         momid=c( NA, NA), sex=c("male", "female"))

Try the relMix package in your browser

Any scripts or data that you put into this service are public.

relMix documentation built on Dec. 15, 2020, 5:11 p.m.