check_pedig_id: Check Animal IDs in Pedigrees

Description Usage Arguments Value Examples

View source: R/check_pedigree_id.R

Description

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.

Usage

1
2
3
4
5
6
7
check_pedig_id(
  ps_pedig_path,
  ps_delim = "|",
  ps_id_col = "#IDTier",
  pcol_types = NULL,
  ptbl_pedigree = NULL
)

Arguments

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()

Value

list of pedigree characteristics

Examples

1
2
3
4
5
6
## Not run: 
check_pedig_id(ps_pedig_path = system.file('extdata',
    'PopReport_SN_ohne_20210115.csv_adaptfin2.csv',
  package = 'qprppedigree'))

## End(Not run)

pvrqualitasag/qprppedigree documentation built on March 18, 2021, 7:34 a.m.