View source: R/geom_th_heatmap.R
geom_th_heatmap0 | R Documentation |
Create heatmaps
geom_th_heatmap0(
th_data = NULL,
cluster_column = FALSE,
hclust_method = "complete",
dist_method = "euclidean",
gap = 1,
name = NULL,
rel_width = 1,
...,
linejoin = "mitre",
na.rm = FALSE,
show.legend = NA,
inherit.aes = FALSE
)
th_data |
a matrix |
cluster_column |
a logical value, TRUE or FALSE. If TRUE, columns of the heatmap are rearranged according to their similarities. |
hclust_method |
the method used to do clustering. This should be
"ward.D", "ward.D2", "single", "complete", "average", "mcquitty", "median"
or "centroid". See |
dist_method |
the method used to do clustering. This must be one of
"euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski".
See |
gap |
a numeric value to specify the gap between the current and the previous heatmap |
name |
the name of the current heatmap |
rel_width |
a numeric value decide the relative width of the heatmap compared to the ggtree plot |
... |
Other arguments passed on to |
linejoin |
Line join style (round, mitre, bevel). |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
geom layer
Ruizhu Huang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.