pairwise.correlation: Calculates and plots the pairwise correlation between...

Description Usage Arguments Value Author(s) Examples

View source: R/pairwise.correlation.R

Description

The pairwise.correlation function plots an image with the pairwise correlation between phenotypes and provides the corresponding source matrix.

Usage

1
  pairwise.correlation(Y, label.Y = NULL)

Arguments

Y

data frame or matrix corresponding to the responses.

label.Y

character vector indicating the label of the outcomes. By default (label.Y=NULL) labels of Y are set to colnames(Y).

Value

A matrix of the pairwise correlation between outcomes.

Author(s)

Benoit Liquet, b.liquet@uq.edu.au,
Marc Chadeau-Hyam m.chadeau@imperial.ac.uk,
Leonardo Bottolo l.bottolo@imperial.ac.uk,
Gianluca Campanella g.campanella11@imperial.ac.uk

Examples

1
2
3
 data(data.Y.Hopx)
    res.cor.Y.Hopx <-
    pairwise.correlation(data.Y.Hopx,label.Y=NULL)$matcor 

R2GUESS documentation built on May 2, 2019, 1:47 p.m.