est_map_hmm_out: C++ routine for multipoint analysis in outcrossing...

Description Usage Arguments Value

View source: R/cpp_utils.R

Description

It calls C++ routine that implements the methodology of Hidden Markov Models (HMM) to construct multipoint linkage maps in outcrossing species

Usage

1
2
3
4
5
6
7
8
9
est_map_hmm_out(
  geno,
  error,
  type,
  phase,
  rf.vec = NULL,
  verbose = TRUE,
  tol = 1e-06
)

Arguments

geno

matrix of genotypes. Rows represent marker and columns represent individuals.

type

a vector indicating the type of marker. For more information see read_onemap

phase

a vector indicating the linkage phases between markers. For more information see make_seq

rf.vec

a vector containing the recombination fraction initial values

verbose

If TRUE, print tracing information.

tol

tolerance for the C routine, i.e., the value used to evaluate convergence.

Value

a list containing the re-estimated vector of recombination fractions and the logarithm of the likelihood


onemap documentation built on Feb. 11, 2022, 5:06 p.m.