qcStudbook | R Documentation |
Main pedigree curation function that performs basic quality control on pedigree information
qcStudbook(sb, minParentAge = 2, reportChanges = FALSE, reportErrors = FALSE)
sb |
A dataframe containing a table of pedigree and demographic information. The function recognizes the following columns (optional columns will be used if present, but are not required):
|
minParentAge |
numeric values to set the minimum age in years for an animal to have an offspring. Defaults to 2 years. The check is not performed for animals with missing birth dates. |
reportChanges |
logical value that if |
reportErrors |
logical value if The following changes are made to the cols.
If the dataframe ( If the The function The function
The function The function
The function
The function The function The function The function The function Columns that cannot be used subsequently are removed and the rows are ordered by generation number and then ID. Finally the columns |
A data.frame with standardized and quality controlled pedigree information.
examplePedigree <- nprcgenekeepr::examplePedigree
ped <- qcStudbook(examplePedigree, minParentAge = 2, reportChanges = FALSE,
reportErrors = FALSE)
names(ped)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.