Skip to contents

Plot distribution of breeding values Plot distribution of breeding values for each trait and add position of selected genotypes

Usage

plotDistrib_selGen(BV, trait, genoCol = "GID", selGen = NULL, colorCol = NULL)

Arguments

BV

data frame with breeding values, with GID in rows and traits in columns

trait

character vector of trait name (length 1)

genoCol

character vector of column name for GID (default is "GID")

selGen

character vector of selected genotypes to highlight in the plot

colorCol

character vector of column name for color (default is NULL)

Value

a ggplot object