transg | R Documentation |
Selection of Transgressive Genotypes - Selection Differential (SD)
transg(
Gen,
Var,
Control,
verbose = FALSE,
plot = FALSE,
ylab = "Selection",
xlab = "Genotypes"
)
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. |
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.
Willyan Junior Adorian Bandeira
Ivan Ricardo Carvalho
Murilo Vieira Loro
Leonardo Cesar Pradebon
Jose Antonio Gonzalez da Silva
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.