Skip to contents

Genotypic Variance-Covariance Analysis

Usage

gen.varcov(data, genotypes, replication)

Arguments

data

traits to be analyzed

genotypes

vector containing genotypes/treatments

replication

vector containing replication

Value

A Genotypic Variance-Covariance Matrix

Examples

gen.varcov(data=seldata[,3:9], genotypes=seldata$treat,replication=seldata$rep)
#>        sypp     dtf     rpp     ppr     ppp     spp      pw
#> sypp 1.2566  0.3294  0.1588  0.2430  0.7350  0.1276  0.0926
#> dtf  0.3294  1.5602  0.1734 -0.3129 -0.2331  0.1168  0.0330
#> rpp  0.1588  0.1734  0.1325 -0.0316  0.3201 -0.0086 -0.0124
#> ppr  0.2430 -0.3129 -0.0316  0.2432  0.3019 -0.0209  0.0074
#> ppp  0.7350 -0.2331  0.3201  0.3019  0.9608 -0.0692 -0.0582
#> spp  0.1276  0.1168 -0.0086 -0.0209 -0.0692  0.0174  0.0085
#> pw   0.0926  0.0330 -0.0124  0.0074 -0.0582  0.0085  0.0103