update_map: Update map

View source: R/utils.R

update_mapR Documentation

Update map

Description

This function takes an object of class mappoly.map and checks for removed redundant markers in the original dataset. Once redundant markers are found, they are re-added to the map in their respective equivalent positions and another HMM round is performed.

Usage

update_map(input.maps, verbose = TRUE)

Arguments

input.maps

a single map or a list of maps of class mappoly.map

verbose

if TRUE (default), shows information about each update process

Value

an updated map (or list of maps) of class mappoly.map, containing the original map(s) plus redundant markers

Author(s)

Gabriel Gesteira, gdesiqu@ncsu.edu

Examples

orig.map <- solcap.err.map
up.map <- lapply(solcap.err.map, update_map)
summary_maps(orig.map)
summary_maps(up.map)

mappoly documentation built on May 29, 2024, 6:05 a.m.