Adds key for color bar.
1 2 3 | draw.cbar.key(border = F, vsize = 0.1, hsize = 0.05, hsep = 0.05,
vlsep = 0.1, vusep = 0.1, vsize.title = 0.08, cex.title = 1,
font.title = 2, cex = 0.8, mfrow = NA)
|
border |
Boolean. Default set to FALSE. |
vsize |
float. Height of the key. Default set to 0.1 |
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. Default is set to 0.1 |
vusep |
float. Vertical distance between upper part of the heatmap, and the bottom of the color bar. Default is set to 0.1 |
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. |
mfrow |
integer vector of length 2, default set to NA. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.