iplotMap: Interactive genetic map plot

Description Usage Arguments Value See Also Examples

View source: R/iplotMap.R

Description

Creates an interactive graph of a genetic marker map.

Usage

1
2
3
4
5
6
7
8
iplotMap(
  map,
  chr = NULL,
  shift = FALSE,
  horizontal = FALSE,
  chartOpts = NULL,
  digits = 5
)

Arguments

map

Object of class '"map"', a list with each component being a vector of marker positions. You can also provide an object of class '"cross"', in which case the map is extracted with [qtl::pull.map()].

chr

(Optional) Vector indicating the chromosomes to plot.

shift

If TRUE, shift each chromsome so that the initial marker is at position 0.

horizontal

If TRUE, have chromosomes arranged horizontally

chartOpts

A list of options for configuring the chart. Each element must be named using the corresponding option.

digits

Round data to this number of significant digits before passing to the chart function. (Use NULL to not round.)

Value

An object of class 'htmlwidget' that will intelligently print itself into HTML in a variety of contexts including the R console, within R Markdown documents, and within Shiny output bindings.

See Also

[iplotScanone()], [iplotPXG()]

Examples

1
2
3
4
5
library(qtl)
data(hyper)
map <- pull.map(hyper)

iplotMap(map, shift=TRUE)

qtlcharts documentation built on Aug. 6, 2021, 9:06 a.m.