grid2d: Two-dimensional grid

View source: R/chrs.R

grid2dR Documentation

Two-dimensional grid

Description

This function build 2-d grids

Usage

grid2d(
  chrlen,
  plot = TRUE,
  cex.labels = 0.6,
  xlab = "QTL position",
  ylab = "Gene position"
)

Arguments

chrlen

Lengths of chromosomes; e.g., hg18, hg19 or hg38.

plot

A flag for plot.

cex.labels

A scaling factor for labels.

xlab

X-axis title.

ylab

Y-axis title.

Value

A list with two variables:

  • n Number of chromosomes.

  • CM Cumulative lengths starting from 0.


gap documentation built on Sept. 11, 2024, 5:36 p.m.