addSexAndAgeToGroup: Forms a dataframe with Id, Sex, and current Age given a list...

View source: R/addSexAndAgeToGroup.R

addSexAndAgeToGroupR Documentation

Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree

Description

Forms a dataframe with Id, Sex, and current Age given a list of Ids and a pedigree

Usage

addSexAndAgeToGroup(ids, ped)

Arguments

ids

character vector of animal Ids

ped

datatable that is the Pedigree. It contains pedigree information including the IDs listed in candidates.

Value

Dataframe with Id, Sex, and Current Age

Examples

library(nprcgenekeepr)
data("qcBreeders")
data("qcPed")
df <- addSexAndAgeToGroup(ids = qcBreeders, ped = qcPed)
head(df)

rmsharp/nprcmanager documentation built on Feb. 2, 2025, 12:45 a.m.