Skip to contents

Phenotypic Variance-Covariance Analysis

Usage

phen.varcov(data, genotypes, replication)

Arguments

data

traits to be analyzed

genotypes

vector containing genotypes/treatments

replication

vector containing replication

Value

A Phenotypic Variance-Covariance Matrix

Examples

phen.varcov(data=seldata[,3:9], genotypes=seldata$treat,replication=seldata$rep)
#>        sypp     dtf     rpp     ppr     ppp     spp      pw
#> sypp 2.1465  0.1546  0.2320  0.2761  1.0801  0.1460  0.0875
#> dtf  0.1546  3.8372  0.1314 -0.4282 -0.4703  0.0585 -0.0192
#> rpp  0.2320  0.1314  0.2275 -0.0405  0.4635  0.0096 -0.0006
#> ppr  0.2761 -0.4282 -0.0405  0.4678  0.3931 -0.0205  0.0064
#> ppp  1.0801 -0.4703  0.4635  0.3931  4.2638  0.0632 -0.0245
#> spp  0.1460  0.0585  0.0096 -0.0205  0.0632  0.0836  0.0259
#> pw   0.0875 -0.0192 -0.0006  0.0064 -0.0245  0.0259  0.0226