infile
The input dataset. It should be a plain text file (*.txt) containing the number of alleles of each allele, at each locus, from each temporal sample. For example, Suppose we have $i$ temporal samples from the focal population, $j$ loci, and $K_j$ alleles at locus $j$.
Denoting the number of copies of allele $k$ at locus $j$ from sample $i$ as $n_{k,j,i}$, then the input format of data is as follows:
$n_{1,1,1}~n_{2,1,1}~...~n_{K_1,1,1}$
$n_{1,2,1}~n_{2,2,1}~...~n_{K_2,2,1}$
...
$n_{1,j,1}~n_{2,j,1}~...~n_{K_j, j,1}$
$n_{1,1,2}~n_{2,1,2}~...~n_{K_1,1,2}$
$n_{1,2,2}~n_{2,2,2}~...~n_{K_2,2,2}$
...
$n_{1,j,2}~n_{2,j,2}~...~n_{K_j, j,2}$
...
Note: A space is required to separate the allele counts.
alleles
A vector containing the number of alleles at each locus. For example, c(4, 4, 4)
would mean that 3 loci are sampled, with 4 alleles each.