Learn R Programming

mappoly (version 0.4.1)

extract_map: 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

Run this code
 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)")

Run the code above in your browser using DataLab