getPossibleCols {nprcgenekeepr} | R Documentation |
Get possible column names for a studbook.
Description
Pedigree curation function
Usage
getPossibleCols()
Value
A character vector of the possible columns that can be in a studbook. The possible columns are as follows:
id |
– character vector with unique identifier for an individual |
sire |
– character vector with unique identifier for an
individual's father ( |
dam |
– character vector with unique identifier for an
individual's mother ( |
sex |
– factor (levels: "M", "F", "U") Sex specifier for an individual |
gen |
– integer vector with the generation number of the individual |
birth |
– Date or |
exit |
– Date or |
ancestry |
– character vector or |
age |
– numeric or |
population |
– an optional logical argument indicating whether or
not the |
origin |
– character vector or |
status |
– an optional factor indicating the status of an
individual with levels |
condition |
– character vector or |
spf |
– character vector or |
vasxOvx |
– character vector indicating the vasectomy/ovariectomy
status of an animal where |
pedNum |
– integer vector indicating generation numbers for each id, starting at 0 for individuals lacking IDs for both parents. |
Examples
library(nprcgenekeepr)
getPossibleCols()