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

Description Usage Arguments Value Author(s) Examples

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 


Search within the R2GUESS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.