Description Usage Arguments Examples
Initiates a clustermap draw. The purpose is to make room on the four sides of the heatmap for additional elements such as cluster dendrograms, color bars with additional info, and labels. Supply as arguments the sides where you want such elements, with the coding side=1 (below), side=2 (left), side=3 (top), side=4 (right).
1 2 |
tree |
Integer. Adds a dendogram to the plot on the sides specified by the argument. Default is c(2,3), which adds a dendogram on the left and top sides of the draw. |
text |
Integer. Adds text on specified sides. |
cbar |
Integer. Adds color bar(s) on specified sides. |
ckey |
Boolean. Adds color bar key(s) (legends). Default is TRUE. |
legend |
Boolean. Default is FALSE. If set to TRUE, color bar keys are plotted on same plot as heatmap. Otherwise, it is plotted on a separate page. |
inner |
Integer vector of 4 elements. Adds (or subtracts) a specific amount of space in the inner margins on a specified side of the heatmap. |
outer |
Integer vector of 4 elements. Adds (or subtracts) a specific amount of space in the outer margins on a specified side of the heatmap. |
1 2 3 4 5 6 | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.