View source: R/sider_barplot.R
This function makes a barplot to put on the side of the heatmap as annotation. Should only be called internally
1 | side_barplot(x, id, vertical = F, legend.text.size = 9)
|
x |
a character vector for annotation. It should have the same order as the input data in the very begining. |
legend.text.size |
numeric indicates the legend text size. |
col.id |
a integer vector to reorder the x vector so it matches the heatmap. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.