geno.corr: Genotypic Correlation Analysis

Description Usage Arguments Value Examples

View source: R/gencorr.R

Description

Genotypic Correlation Analysis

Usage

1
geno.corr(data, genotypes, replication)

Arguments

data

traits to be analyzed

genotypes

vector containing genotypes

replication

vector containing replications

Value

Genotypic correlation matrix

Examples

1
2
data(vardata)
geno.corr(vardata[3:11],vardata$Genotypes,vardata$Replication)

Example output

$GenotypicCorrelation
     DFF       PH         PL         PW         HI         TW        
DFF  1 **      0.7392 **  0.1762 NS  0.2853 NS  -0.3155 *  0.4779 ** 
PH   0.7392 ** 1 **       0.2326 NS  0.1194 NS  -0.3049 NS 0.4156 ** 
PL   0.1762 NS 0.2326 NS  1 **       0.1312 NS  -0.0599 NS -0.1113 NS
PW   0.2853 NS 0.1194 NS  0.1312 NS  1 **       0.2707 NS  -0.1507 NS
HI   -0.3155 * -0.3049 NS -0.0599 NS 0.2707 NS  1 **       -0.3539 * 
TW   0.4779 ** 0.4156 **  -0.1113 NS -0.1507 NS -0.3539 *  1 **      
MILL -0.112 NS -0.0849 NS -0.2625 NS 0.021 NS   0.3145 *   0.0103 NS 
HRR  0.1246 NS 0.0631 NS  -0.0078 NS 0.0288 NS  0.1014 NS  0.0443 NS 
GY   0.03 NS   0.1817 NS  0.1681 NS  0.3595 *   0.4467 **  -0.3574 * 
     MILL       HRR        GY        
DFF  -0.112 NS  0.1246 NS  0.03 NS   
PH   -0.0849 NS 0.0631 NS  0.1817 NS 
PL   -0.2625 NS -0.0078 NS 0.1681 NS 
PW   0.021 NS   0.0288 NS  0.3595 *  
HI   0.3145 *   0.1014 NS  0.4467 ** 
TW   0.0103 NS  0.0443 NS  -0.3574 * 
MILL 1 **       0.2539 NS  0.231 NS  
HRR  0.2539 NS  1 **       -0.1061 NS
GY   0.231 NS   -0.1061 NS 1 **      

$Note1
[1] "The sig of genotypic correlation was tested using t test (two-tail). The degree of freedom used is number of genotypes - 2"

$Note2
[1] "If NaNs are produced checkout for negative genotypic variance for one or more traits"

variability documentation built on Oct. 24, 2020, 9:10 a.m.