WAASBYratio: Weighted Average of Absolute Scores from SVD of...

Description Usage Arguments Details Value Author(s) Examples

View source: R/WAASBYratio.R

Description

Compute the Weighted Average of Absolute Scores for AMMI analysis in different combinations of weights for stability and productivity.

Usage

1
2
WAASBYratio(.data, resp, gen, env, rep, increment = 5,
            saveWAASY = 50, progbar = TRUE)

Arguments

.data

The dataset containing the columns related to Environments, Genotypes, replication/block and response variable(s).

resp

The response variable, for example resp = RG.

gen

The name of the column that contains the levels of the genotypes.

env

The name of the column that contains the levels of the environments.

rep

The name of the column that contains the levels of the replications/blocks.

increment

The range of the increment for WAASB/GY ratio. Default is 5. The function compute the WAASBY values starting with a weight o 100 for stability and 0 for response variable. With the default, the first scenario will be a WAASB/GY ratio = 100/0. In the next scenario, the WAASBY values are computed based on a WAASB/GY ratio = 95/5.

saveWAASY

Automatically save the WAASY values when the wheight for WAAS (stability) in the WAAS/GY ratio is "saveWAASY". Default is 100. The value of "saveWAASY" must be multiple of "Increment". If this assumption is not valid, an error will be occour.

progbar

A logical argument to define if a progress bar is shown. Default is TRUE.

Details

This function considers both stability (weighted average of absolute scores based on SVD of BLUP-interaction effects matrix) and productivitye for genotype ranking. This function provide the option of attributing weights for stability and productive in genotype ranking. This is important depending on the goal of a selection strategy. For example, if a a goal of a breeding program is to select a genotype whith high yielding (independeltly on the stability performance), that genotype with the first rank in an WAASB/GY = 0/100 ratio should be selected. The reciprocal is true. Aiming at selecting a high-stable genotype (independentely on the productivity), that genotype with the first rank in an WAASB/GY = 100/0 ratio should be selected. By defalut, the increment on the WAASB/GY ratio is equal to 5. In other words, twenty one different combinations are computed. Each combination, the genotypes are ranked regarding the WAASY value.

Value

anova

Joint analysis of variance for the main effects and Principal Component analysis of the interaction effect.

PC

Principal Component Analysis.

MeansGxE

The means of genotypes in the environments, with observed, predicted and residual values.

WAAS

A data frame with the response variable, the scores of all Principal Components, the estimates of Weighted Average of Absolute Scores, and WAASY (the index that consider the weights for stability and productivity in the genotype ranking.

WAASY

The values of the WAASY estimated when the wheight for the stability in the loop match with argument "saveWAASY".

WAASY.values

All the values of WAASY estimated in the different scenarios of WAAS/GY weighting ratio.

Author(s)

Tiago Olivoto [email protected]

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 
library(METAAB)

# Default, with increment of 5 and saving the WAASY values when weight is 50
wratio = WAASBYratio(data_ge,
                     resp = GY,
                     gen = GEN,
                     env = ENV,
                     rep = REP)

# Incrementing 2-by-2
wratio2 = WAASBYratio(data_ge,
                      resp = GY,
                      gen = GEN,
                      env = ENV,
                      rep = REP,
                      increment = 50)

## End(Not run)

TiagoOlivoto/WAASB documentation built on April 1, 2019, 10:25 a.m.