powered by
Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree
addSexAndAgeToGroup(ids, ped)
Dataframe with Id, Sex, and Current Age
character vector of animal Ids
datatable that is the Pedigree. It contains pedigree information including the IDs listed in candidates.
Pedigree
candidates
library(nprcgenekeepr) data("qcBreeders") data("qcPed") df <- addSexAndAgeToGroup(ids = qcBreeders, ped = qcPed) head(df)
Run the code above in your browser using DataLab