Learn R Programming

pedgene (version 3.9)

pedigreeChecks: Validity checks on pedigree data

Description

Checks for valid IDs, sex codes for data in a single pedigree

Usage

pedigreeChecks(pedigree, male.code = 1, female.code = 2)

Value

valid = TRUE or FALSE for validity of pedigree data

Arguments

pedigree

data frame with variables named person, father, mother, sex.

male.code

sex code for males

female.code

sex code for females

Author

Daniel J. Schaid (schaid@mayo.edu).

Details

A series of basic pedigree checks