Learn R Programming

pedtools (version 0.9.3)

getMap: Tabulate marker positions

Description

Tabulate marker positions

Usage

getMap(
  x,
  markers = seq_len(nMarkers(x)),
  pos = c("cm", "mb"),
  na.action = 0,
  verbose = TRUE
)

Arguments

x

An object of class ped.

markers

A numeric of indices.

pos

Which unit should be used? Either "cm" (centiMorgan) or "mb" (megabytes).

na.action

Either 0 (default), 1 or 2.

verbose

A logical.

Value

A data.frame.