Sib-pair Command: mean | cor


ClassAnalysis and data manipulation command
Namemean | cor
Arguments <quantitative trait 1> <quantitative trait 2> [...<quantitative trait N>]

Calculates means, standard deviation and correlation matrix for a list of traits.

Example:

cor $q
>> cor $q

Variable        Mean      Stand Dev  Correlations
---------- ------------ ------------ ---------------------
age             22.6316      15.5329 1.00
height         155.9211      23.6936 0.56 1.00
weight          57.0789      24.5936 0.57 0.72 1.00
chol           198.5684      66.6355 0.22 0.01 0.01 1.00
HDL             48.6789      11.4137 0.04 0.03 -.13 -.03 1.00
LDL            131.6842      63.8429 0.19 0.02 0.01 0.97 -.13 1.00
trig            80.3737      44.6262 0.35 0.08 0.26 0.25 -.32 0.18 1.00

Number of variables     =      7
No. usable observations =    190      (  81.9%)

Sib-pair Command: correlation distance


ClassAnalysis and data manipulation command
Name cor
Arguments distance <quantitative trait 1> [...<quantitative trait N>] [versus <trait N+1>...]]

Calculates distance correlations for a list of traits. If versus is present, This will be correlation between the first and second sets of traits, otherwise all possible pairs of single traits. The P-value is based on a slightly conservative approximation of N*dCor as a 1 d.f. chi-square [Chen and Vogelstein 2020].

Example:

>> cor distance age height weight chol HDL LDL trig

Trait1     Trait2         N     dCov       dVarX      dVarY      dCor   P-value
---------- ---------- ------  ---------- ---------- ---------- -------  -------
age        height        192   55.26      114.5      196.5      0.3684  4e-17 
age        weight        192   69.21      114.5      219.0      0.4371  5e-20 
age        chol          190  0.1034      116.3     0.7793E-02  0.1086  6e-6  
age        HDL           190  -.5461      116.3      56.27     -0.0067  0.2575
age        LDL           190  0.1141      116.3     0.1599E-01  0.0837  7e-5  
age        trig          190  0.1731      116.3     0.1604E-01  0.1267  9e-7  
height     weight        192   144.8      196.5      219.0      0.6978  6e-31 
height     chol          190  0.3629E-02  198.9     0.7793E-02  0.0029  0.4567
height     HDL           190   1.310      198.9      56.27      0.0124  0.1251
height     LDL           190  -.2365E-02  198.9     0.1599E-01 -0.0013  0.6157
height     trig          190  0.9808E-02  198.9     0.1604E-01  0.0055  0.3071
weight     chol          190  0.8595E-02  222.3     0.7793E-02  0.0065  0.2654
weight     HDL           190   4.014      222.3      56.27      0.0359  0.0090
weight     LDL           190  0.8017E-02  222.3     0.1599E-01  0.0043  0.3688
weight     trig          190  0.1126      222.3     0.1604E-01  0.0596  0.0008
chol       HDL           190  0.8966E-02 0.7793E-02  56.27      0.0135  0.1088
chol       LDL           190  0.1019E-01 0.7793E-02 0.1599E-01  0.9129  1e-39 
chol       trig          190  0.1635E-02 0.7793E-02 0.1604E-01  0.1462  1e-7  
HDL        LDL           190  0.1097E-01  56.27     0.1599E-01  0.0116  0.1382
HDL        trig          190  0.1266      56.27     0.1604E-01  0.1332  5e-7  
LDL        trig          190  0.2070E-02 0.1599E-01 0.1604E-01  0.1292  7e-7  

>> cor distance weight versus chol HDL LDL trig

Trait1     Trait2         N     dCov       dVarX      dVarY      dCor   P-value
---------- ---------- ------  ---------- ---------- ---------- -------  -------
weight     chol          190   4.008      222.3      55.93      0.0359  0.0090
           HDL       
           LDL       
           trig      

<< (hist)Up to index>> (pca)