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

Description Usage Arguments Value Examples

View source: R/addSexAndAgeToGroup.R

Description

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

Usage

1

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

1
2
3
4
5
library(nprcgenekeepr)
data("qcBreeders")
data("qcPed")
df <- addSexAndAgeToGroup(ids = qcBreeders, ped = qcPed)
head(df)

rmsharp/nprcmanager documentation built on April 24, 2021, 3:13 p.m.