hmanno {ggalign} | R Documentation |
Determine the active context of heatmap layout
hmanno(
position = NULL,
size = NULL,
width = NULL,
height = NULL,
guides = NA,
free_labs = NA,
free_spaces = NA,
plot_data = NA,
theme = NULL,
what = waiver()
)
position |
Which heatmap annotation should get activated? Possible values are follows:
|
size |
A unit object to set the total size of the heatmap
annotation. This will only be used if
|
width , height |
Heatmap body width/height, can be a unit
object. Only used when |
guides |
A boolean value or a string containing one or more of
|
free_labs |
A boolean value or a string containing one or more of
|
free_spaces |
A character specifies the ggplot elements which won't
count space sizes when alignment. If |
plot_data |
A function used to transform the plot data before rendering.
By default, it'll inherit from the parent layout. If no parent layout, the
default is to not modify the data. Use Used to modify the data after layout has been created, but before the data is
handled of to the ggplot2 for rendering. Use this hook if the you needs
change the default data for all |
theme |
A theme() object to rendering the guides, title, subtitle, caption, margins and background. Only used when position is |
what |
What should get activated for the anntoation stack? Only used
when position is not |
A heatmap_active
object which can be added into
HeatmapLayout.
ggheatmap(matrix(rnorm(81), nrow = 9)) +
hmanno("top") +
align_dendro()