fixSexCoding {LTFGRS} | R Documentation |
Fixing sex coding in trio info
Description
Internal function used to assist in fixing sex coding separately from id coding type.
Usage
fixSexCoding(x, sex_coding = TRUE, dadid, momid)
Arguments
x |
current row to check against |
sex_coding |
logical. Is sex coded as character? |
dadid |
column name of father ids |
momid |
column name of mother ids |
Value
appropriate sex coding
[Package LTFGRS version 1.0.0 Index]