Arguments
gdat
genotype data. Should be a matrix or a data frame, with each row representing an observation and each column a marker locus. The column names should be marker names. Each entry should be 1, 2, 3 or 0, corresponding to "AA", "AB", "BB" or missing genotype.
gmap
a genetic map. Should be data frame (snp, chr, dist,...), where "snp" is the SNP (marker) name, "chr" is the chromosome where the "snp" is, and "dist" is the genetic distance in centi-Morgan (cM) from the leftmost SNP (marker) on the chromosome.
step
the maximum "cumulative" distance (in cM) between two adjacent loci for which the probabilities are calculated. The distance corresponds to the "cumulative" recombination rate at gr
-th generation.
gr
the generation under consideration.
pos
data frame (chr, dist, snp, ...). If given, step
will be ignored.
method
whether "Haldane" or "Kosambi" mapping function should be used.
verbose
a logical variable. If TRUE, certain information will be printed out during calculation.