barplotGeneticMap: Stacked barplot of markers

View source: R/quantgen.R

barplotGeneticMapR Documentation

Stacked barplot of markers

Description

Make a barplot of markers per linkage group (or chromosome), stacked per chromosome (or linkage group).

Usage

barplotGeneticMap(
  counts,
  las = 1,
  border = NA,
  col = grDevices::rainbow(nrow(counts)),
  leg.txt = rownames(counts),
  args.leg = list(x = "topright", bty = "n", border = NA, fill =
    rev(grDevices::rainbow(nrow(counts)))),
  ...
)

Arguments

counts

matrix with the number of markers, with chromosomes in rows and linkage groups in columns, or vice-versa; should have row and column names

las

see par

border

see barplot

col

see barplot

leg.txt

see barplot; if NULL, the stack labels will appear in the middle of each bar

args.leg

see barplot

...

arguments to be passed to barplot

Value

see barplot

Author(s)

Timothee Flutre


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