Description Usage Arguments Value
View source: R/pedigree_consistency_checks.R View source: R/pedigree_consistency_checks_tbl_df.R
Given a pedigree as tbl_df, it is first run through the TVD-ID check using the function PedigreeFromTvdData::check_tvd_id_tbl(). As a result, we get the checked pedigree. The original pedigree in p_tbl_ped and the checked pedigree are compared and the result is returned as a list indicating whether the two pedigrees are consistent and if not with a vector of row-indices where inconsistencies did occur.
Given a pedigree as tbl_df, it is first run through the TVD-ID check using the function PedigreeFromTvdData::check_tvd_id_tbl(). As a result, we get the checked pedigree. The original pedigree in p_tbl_ped and the checked pedigree are compared and the result is returned as a list indicating whether the two pedigrees are consistent and if not with a vector of row-indices where inconsistencies did occur.
1 2 3 | all_parent_id_consistent(p_tbl_ped, plIdCols, pn_parent_col, pb_out = FALSE)
all_parent_id_consistent(p_tbl_ped, plIdCols, pn_parent_col, pb_out = FALSE)
|
p_tbl_ped |
original pedigree as tbl_df |
plIdCols |
list with column indices for all ids, required for checking |
pn_parent_col |
column index of parent to be checked |
pb_out |
flag indicating whether debugging output should be written |
p_b_out |
flag indicating whether output should be written |
p_tbl_ped |
original pedigree as tbl_df |
plIdCols |
list with column indices for all ids, required for checking |
pn_parent_col |
column index of parent to be checked |
list indicating result of consistency check and list of row indices with inconsistent IDs
list indicating result of consistency check and list of row indices with inconsistent IDs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.