Given an x.linked locus object and a vector of gender codes, the
function will check to make sure the gender codes match the codes used
to originally define the locus, and that no individuals defined as
males are heterozygous.
Usage
x.sexcheck(x, sex, stop=FALSE)
Value
T if one or more errors were found
F if no errors were found
Arguments
x
an object of class locus
sex
a vector of codes identifying the gender of each individual contained
in the locus object
stop
if T , any warnings are converted to errors and execution is
halted immediately