Represents pedigree from ExamplePedigree.csv.
- id
– character column of animal IDs
- sire
– the male parent of the animal indicated by the
id
column. Unknown sires are indicated withNA
- dam
– the female parent of the animal indicated by the
id
column.Unknown dams are indicated withNA
- sex
– factor with levels: "M", "F", "U". Sex specifier for an individual.
- gen
– generation number (integers beginning with 0 for the founder generation) of the animal indicated by the
id
column.- birth
– Date vector of birth dates
- exit
– Date vector of exit dates
- age
– numerical vector of age in years
- ancestry
– character vector or NA with free-form text providing information about the geographic population of origin.
- origin
– character vector or
NA
(optional) that indicates the name of the facility that the individual was imported from if other than local.- status
– character vector or NA. Flag indicating an individual's status as alive, dead, sold, etc. Transformed to factor {levels: ALIVE, DECEASED, SHIPPED, UNKNOWN}. Vector of standardized status codes with the possible values ALIVE, DECEASED, SHIPPED, or UNKNOWN
- recordStats
– character vector with value of
"added"
or"original"
.
Examples
library(nprcgenekeepr)
data("examplePedigree")
exampleTree <- createPedTree(examplePedigree)
exampleLoops <- findLoops(exampleTree)