convertMapUnit: Convert map unit and rescale map positions.

Description Usage Arguments Value Map Units

View source: R/map.R

Description

Convert map unit and rescale map positions.

Usage

1
convertMapUnit(x, map.unit)

Arguments

x

Object containing map data.

map.unit

New map unit.

Value

Input object with converted map unit and rescaled map positions.

Map Units

A map or mapframe must express positions in either genetic or physical map units. Genetic map positions must be in centiMorgans (cM), while physical map positions must be in base pairs (bp), kilobases (kb), or Megabases (Mb).


gact/shmootl documentation built on Nov. 11, 2021, 6:23 p.m.