\HeaderA{FormatGenotypes}{Formatting file of genotype data.}{FormatGenotypes}
\begin{Description}\relax
Takes genotype data as a matrix with
one line per individual and two columns per locus,
with alleles coded by integers (number of replications for
micro-satellites data).
Build a new matrix with alleles codes as consecutive integers.
If a locus  has 7 alleles they will be coded as 1,2,...7.
Since version 1.0.1, this function does not have to be called by
users. It is called through mcmcFmodel.
\end{Description}
\begin{Usage}
\begin{verbatim}FormatGenotypes(genotypes)\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{genotypes}] A matrix with
one line per individual and two columns per locus,
with alleles coded by integers
\end{ldescription}
\end{Arguments}
\begin{Value}
A list with elements: 
\begin{ldescription}
\item[\code{genotypes}] a  matrix with one line per individual and
two columns per locus with alleles coded by integers
\item[\code{allele.numbers}] a vector giving the number of possible alleles per locus
\end{ldescription}
\end{Value}
\begin{Author}\relax
Gilles Guillot
\end{Author}

