generate_cluster_label {superheat} | R Documentation |
Generate clustered heatmap labels.
Description
Generate clustered heatmap labels.
Usage
generate_cluster_label(membership, location = c("bottom", "left"),
label.col = NULL, label.text.col = NULL,
label.text.alignment = c("center", "left", "right"),
bottom.label.text.size = 5, left.label.text.size = 5, text.angle = NULL)
Arguments
membership |
a vector specifying the cluster membership. |
location |
will these labels be on the bottom ("bottom") or on the left ("left)? |
label.col |
a vector specifying cluster/variable label color palette. |
label.text.col |
a character or character vector specifying the cluster/variable label text color. |
label.text.alignment |
the text alignment of the label text. The default is "center". Alternate options are "left" and "right". |
bottom.label.text.size |
the size of the bottom heatmap label text. The default is 5. |
left.label.text.size |
the size of the left heatmap label text. The default is 5. |
text.angle |
number of degrees to rotate the text on the left cluster/variable labels. |
Value
A ggplot2 object of heatmap labels.
[Package superheat version 0.1.0 Index]