If legend set to TRUE in draw.init(), plots color bar legend on the same page as heatmap.
1 2 | draw.cbar.key.samepage(border, hsize, hsep, vlsep, vusep, vsize.title,
cex.title, font.title, cex)
|
border |
Boolean. Default set to FALSE. |
hsize |
float. Width of the key. Default set to 0.2 |
hsep |
float. Horizontal separator of the colorbar keys, default set to 0.05. |
vlsep |
float. Vertical distance between lower part of the heatmap, and the bottom of the color bar |
vusep |
float. Vertical distance between upper part of the heatmap, and the bottom of the color bar. |
vsize.title |
float. Space for adding color bar title. Default is 0.08 |
cex.title |
integer. Size of title font. Default is 1. |
font.title |
integer. Font type for title, default is set to 2 (bold) |
cex |
float. Text size for legend. Default is set to 0.8. |
vsize |
float. Height of the key. Default set to 0.1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.