Calculates and plots the pairwise correlation between outcomes

Share:

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 

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.