gcheatmap: Heatmap of genetic correlations

Description Usage Arguments Value See Also Examples

Description

Plot a heatmap of genetic correlations

Usage

1
2
gcheatmap(data = gcatlas, distfun = cor2dist, symm = TRUE,
  margins = c(9, 9), fix = TRUE, ...)

Arguments

data

An object of the same structure as gcatlas

distfun

The function to convert a correlation matrix to a distance matrix for generating the dendrograms

symm

Logical switch indicating a heatmap of a symmetric matrix; passed on to heatmap and probably best left unchanged

margins

Numerical vector of length two, indicating how much space is reserved for the row/column labels. This is the same argument as for heatmap, but with a different default so that the trait names are reasonably readable with normal device size

fix

Logical expression indicating whether correlations outside of [-1,1] should be set to the limits

...

Extra arguments passed on to heatmap

Value

Invisibly, the same as function heatmap. This function is generally invoked to generate a plot.

See Also

heatmap, cor2dist, gcatlas

Examples

1
2
## Default heatmap of the full atlas
gcheatmap()	

alexploner/GeneCorrAtlas documentation built on May 12, 2019, 2:32 a.m.