plotPhyVsGenDistances: Plot physical versus genetic distances

View source: R/quantgen.R

plotPhyVsGenDistancesR Documentation

Plot physical versus genetic distances

Description

Plots physical versus genetic distances

Usage

plotPhyVsGenDistances(
  x,
  chrs = NULL,
  type = "b",
  las = 1,
  xlab = "physical distance (in bp)",
  ylab = "genetic distance (in cM)",
  ...
)

Arguments

x

data frame with markers in rows and at least three columns named "chr", "physical.distance", "genetic.distance"

chrs

chromosome(s) to plot (all if NULL); will be sorted by mixedsort if the "gtools" package is available; if several chromosomes are to be plotted, there will be one plot per chromosome, with two plots per row as specified to par

type

type of plot to draw (see plot)

las

style of axis labels (see par)

xlab

title for the x axis

ylab

title for the y axis

...

arguments to be passed to plot, except "x" (will be the physical distance), "y" (will be the genetic distance), "main" (will be the chromosome identifier), "type", "las", "xlab" and "ylab"

Value

nothing

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 7, 2024, 8:17 a.m.