Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request refactors and enhances the
check_pedpedigree quality-checking function, improves its documentation, and updates project metadata. The changes make the function more robust, user-friendly, and better documented, with clearer outputs and error reporting.Pedigree checking improvements:
check_pedfunction to detect and optionally correct five classes of pedigree errors: exact duplicate rows, repeated IDs with conflicting parents, IDs appearing as both sire and dam, missing parents (added as founders), and pedigree cycles (dependencies). The function now outputs a comprehensive report and optionally saves corrected dataframes interactively. [1] [2] [3]Documentation updates:
check_pedto clearly describe its behavior, inputs, outputs, and usage examples, reflecting the new error types and interactive saving feature.Project metadata:
DESCRIPTIONto 7.3.3, reflecting regenerated documentation.ProjectIdfield toBIGr.Rprojfor project tracking.