order.x: Reordering of X-chromosomal genotype counts
Description
Function order.x reorders a named vector of three genotype
counts, such that the sequence (minor hemizygote, major hemizygote,
minor homozygote, heterozygote, major heterzygote) is establised.
Usage
order.x(X)
Value
a vector
Arguments
X
a named vector of genotype counts (e.g. c(A=10,B=10,AA=25,AB=50,BB=25))