Description Usage Arguments Details Value Examples
Calculates the distance between environments based on the observed phenotypes of genotypes shared between environments.
1 | dist_env(x, gen.col = "gen", env.col = "env", pheno.col = "yield")
|
x |
A |
gen.col |
The column name that contains the names of genotypes. |
env.col |
The column name that contains the names of environments. |
pheno.col |
The column name that contains the phenotypic observations. |
The distance between environments (D_jj) cannot be less than 0
and cannot exceed 4
. A distance close to 0
indicates that the relative
performance of genotypes is similar (i.e. the correlation between genotype
performance across environments is r_jj = 1) while a distance
close to 2
indicates that the correlation between genotype performance
is close to r_jj = 0. Finally, as D_jj approaches 4, crossover
interactions are abundant and the correlation of genotype performance is close
to r_jj = -1.
A dist
matrix of distances between environments. This dist
object
can be used by clustering functions such as hclust
.
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.