plotMapSxGDomaineChapitre: Plot the map of SxG

View source: R/grapevine.R

plotMapSxGDomaineChapitreR Documentation

Plot the map of SxG

Description

reciprocal cross Syrah x Grenache at the Domaine du Chapitre (near Montpellier, France)

Usage

plotMapSxGDomaineChapitre(
  map,
  main = "default",
  lang = "FR",
  col.block = stats::setNames(c("grey81", "bisque1"), c("A", "B")),
  show.plant.types = TRUE,
  show.pu.type = FALSE,
  x.off = 4,
  mar = c(5, 4, 4, 1)
)

Arguments

map

data.frame with columns rank, location, x and y

main

main title (there is one by default in both languages)

lang

language for the title and legend (default=FR/EN)

col.block

vector with block colors (set to NULL to ignore)

show.plant.types

show the plants corresponding to F1, parents and controls

show.pu.type

show the "parcelles unitaires" corresponding to F1, parents and controls

x.off

offset on the x-axis to let some space for the legend

mar

margins (see the "mar" option of "par()")

Value

the "map" data.frame as an invisible object

Author(s)

Timothee Flutre


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