
Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree
Source:R/addSexAndAgeToGroup.R
addSexAndAgeToGroup.Rd
Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree
Examples
library(nprcgenekeepr)
data("qcBreeders")
data("qcPed")
df <- addSexAndAgeToGroup(ids = qcBreeders, ped = qcPed)
head(df)
#> ids sex age
#> Q0RGP7 Q0RGP7 F 20.224504
#> C1ICXL C1ICXL F 9.201916
#> J3D3N5 J3D3N5 M 24.273785
#> VFS0XB VFS0XB M 19.268994
#> HP3E04 HP3E04 M 18.116359
#> 2KULR3 2KULR3 F 11.879535