sex_to_int: Convert character sex codes to integer codes
Description
This function accepts the character sex codes accepted by Eigenstrat and turns them into the integer codes accepted by Plink.
Matching is case insensitive.
Cases outside the table below are mapped to 0 (unknown) with a warning.
The correspondence is: