...
a matrix of alleles or list of columns of an allele matrix.
Each locus on the chromosome has a pair of adjacent columns in the
allele matrix, so that the number of columns of the allele matrix is
twice the number of loci on the chromosome. The order of the columns
corresponds to the order of the loci on the chromosome, and each row
corresponds to the alleles for each subject. The alleles should be
numerically coded, i.e., 1, 2, 3, or 4 for 'A', 'C', 'G', or 'T'.
mode
the inheritance mode, either 'additive', 'dominant', or
'recessive'. Note that the default inheritance mode is 'additive'.
rare.freq
the population haplotype frequency to define rare
haplotypes. If 'group.rare=TRUE', then haplotypes with an estimated
population frequency less than or equal to 'rare.freq' are grouped
in the 'haplo.ccs' model. Note that the default haplotype frequency
is 0.02. 'rare.freq' is automatically set to 0 if
'group.rare=FALSE'.