Description Usage Arguments Details Value Note Author(s) References See Also Examples
Clusters variables in a datafrome using dist = 1-A and plots a heatmap with cluster dendrogram attached.
1 |
dataSet |
the n x m data frame representing n samples of the m variables. |
palette |
colour palette to use for the heatmap. |
corAdjusted |
a flag which if set causes bi-variate A scores to be mutiplied
by the sign of the same bi-variate correlation. This gives a
direction to the association. defaults to |
method |
the method to use for correlation association as performed by |
title |
a main title for the heatmap plot. |
... |
passed on to graphics routines ... |
uses heatmap.2
from the gplots
package
to display a heatmap and associated dendorgram with
bi-variate scores provided by matie's A value.
If required these scores can be expanded into the
range [-1,1]
through multiplication by the
sign of the corresponding bi-variate correlation score.
Returns nothing.
The data set can be of any dimension.
Ben Murrell, Dan Murrell & Hugh Murrell.
This code was adapted from Moignard et al.
1 2 | data(baseballData)
amap(baseballData,corAdjusted=TRUE)
|
[1] "Processing 11 variables. 55 pairs"
[1] "1 variable(s) complete"
[1] "2 variable(s) complete"
[1] "3 variable(s) complete"
[1] "4 variable(s) complete"
[1] "5 variable(s) complete"
[1] "6 variable(s) complete"
[1] "7 variable(s) complete"
[1] "8 variable(s) complete"
[1] "9 variable(s) complete"
[1] "10 variable(s) complete"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.