checkParentSex | R Documentation |
Validates sex coding consistency for a given parental role (momID or dadID).
checkParentSex(ped, parent_col, sex_col = "sex", verbose = FALSE)
ped |
Pedigree dataframe. |
parent_col |
The column name for parent IDs ("momID" or "dadID"). |
sex_col |
The column name for sex coding. Default is "sex". |
verbose |
Logical, whether to print messages. |
A list containing role, unique sex codes, modal sex, inconsistent parents, and linked children.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.