extract_map: Extract the maker position from an object of class...

View source: R/plot_map_list.R

extract_mapR Documentation

Extract the maker position from an object of class 'mappoly.map'

Description

Extract the maker position from an object of class 'mappoly.map'

Usage

extract_map(input.map, phase.config = "best")

Arguments

input.map

An object of class mappoly.map

phase.config

which phase configuration should be used. "best" (default) will choose the maximum likelihood configuration

Examples

 x <- maps.hexafake[[1]]$info$genome.pos/1e6
 y <- extract_map(maps.hexafake[[1]])
 plot(y~x, ylab = "Map position (cM)", xlab = "Genome Position (Mbp)")

mmollina/MAPPoly documentation built on March 8, 2024, 2:04 a.m.