transg: Selection Differential (Mean and Deviations)

View source: R/selecao.R

transgR Documentation

Selection Differential (Mean and Deviations)

Description

Selection of Transgressive Genotypes - Selection Differential (SD)

Usage

transg(
  Gen,
  Var,
  Control,
  verbose = FALSE,
  plot = FALSE,
  ylab = "Selection",
  xlab = "Genotypes"
)

Arguments

Gen

The column with the genotype name

Var

The column with the values for the variable of interest

Control

The column with the value of the variable 'X' for the controls

verbose

Logical argument. Runs the code silently if FALSE.

plot

Logical argument. Plots a graphic if 'TRUE'.

ylab

The name of the Y axis.

xlab

The name of the X axis.

Value

Returns the general parameters and the genotypes selected for each treshold. Also plot a representative graph of the selected genotypes based on the mean and standard deviations.

Author(s)

Willyan Junior Adorian Bandeira

Ivan Ricardo Carvalho

Murilo Vieira Loro

Leonardo Cesar Pradebon

Jose Antonio Gonzalez da Silva

Examples

library(EstimateBreed)

Gen <- paste0("G", 1:20)
Var <- round(rnorm(20, mean = 3.5, sd = 0.8), 2)
Control <- rep(3.8, 20)

data <- data.frame(Gen,Var,Control)

transg_sel <- with(data,transg(Gen,Var,Control,verbose=FALSE,plot=TRUE))

EstimateBreed documentation built on April 4, 2025, 5:37 a.m.