The software system PopReport analyses pedigrees. The pedigrees used as input must satisfy certain criteria. This function checks the required properties of animal IDs in a pedigree. Animal IDs in a pedigree are the primary keys that identify the individuals.
The main property of the animal IDs consists of their uniqueness. The output of this function shows potential duplicate IDs.
check_pedig_id( ps_pedig_path, ps_delim = "|", ps_id_col = "#IDTier", pcol_types = NULL, ptbl_pedigree = NULL )
ps_pedig_path | path to the pedigree input file |
---|---|
ps_delim | column delimiting character |
ps_id_col | column title where animal ID is contained |
pcol_types | column types of pedigree in ps_pedig_path |
ptbl_pedigree | tibble containing the pedigree, obtained by read_prp_pedigree() |
list of pedigree characteristics
if (FALSE) { check_pedig_id(ps_pedig_path = system.file('extdata', 'PopReport_SN_ohne_20210115.csv_adaptfin2.csv', package = 'qprppedigree')) }