decorateBBplot: decorateBBplot Function

Description Usage Arguments Details Value Examples

View source: R/decorateBBplot.R

Description

This function is called by BBplot for drawing GGE biplot with environment winner designations. This function is not intended to be used by the user directly

Usage

1
2
decorateBBplot(Gscores, Escores, Eeffect, axes.names, decorate = TRUE,
  scaledplot = TRUE, Gnames)

Arguments

Gscores

matrix of genotype scores

Escores

matrix of environment scores

Eeffect

numeric vector environment effects(?)

decorate

logical, indicates if the environment winenr panels should be colored

Gnames

names of genotypes to be printed, default is outer edge

axis.names

character vector of axis names

scaledPlot

logical, indicates if genotypes scores and escores shoudl be scaled to one another (how does f effect this?)

Details

Uses chull() to compute convex hull of biplot points, draws lines to each of them sucessively, and then draws lines from the origin perpendicular to each segment. Colors are added to sectors containing genotypes if decorate = TRUE

Value

list sectors

Examples

1
2
3
data(onterio)
GGEfit <- bilinear(x = onterio, model = "GGE")
BBplot(GGEfit, decorateGGE = TRUE)

nsantantonio/Bilinear documentation built on Dec. 7, 2017, 5:45 a.m.