Calculates genetic map positions for a single chromosome using recombination frequency (RF) and LOD scores from a genotype matrix. The output is standardized for compatibility with Marey plots.
Arguments
- geno_matrix
A genotype matrix (markers as rows, individuals as columns) for one chromosome or linkage group.
- model
Character. Mapping function to use:
"Kosambi"
(default) or"Haldane"
.- n_point
Integer. The
n.point
value for interpolation when estimating genetic positions. Default is20
.- pop.type
Character. Population type:
"DH"
,"BC"
,"F2"
(default),"S1"
,"RIL.self"
,"RIL.sib"
.
Value
A data frame with columns:
chrom
: Chromosome identifierposition_Mb
: Physical position in megabasesposition_cM
: Genetic distance in centimorgans (estimated)
Details
This function uses MapRtools::MLEL()
and MapRtools::genetic_map()
for estimating genetic positions.
The output is ready to be used with plot_marey()
.
Examples
if (FALSE) { # \dontrun{
map_chr1 <- estimate_map(geno_matrix = chr1_geno_matrix, n_point = 20)
plot_marey(map_chr1, chrom = "CHR1")
} # }