View source: R/add_dendrogram.R
prepare_dendrogram | R Documentation |
Prepare dendrogram by transforming dendrogram segments.
prepare_dendrogram(
dendro_in,
context = c("rows", "cols"),
dend_side,
dend_defaults,
dend_params,
full_plt,
layout,
x_long,
annot_df,
annot_side,
annot_pos,
annot_size
)
dendro_in |
Dendrogram object generated by
|
context |
Dimension the dendrogram will be plotted against (rows or columns). |
dend_side |
String for dendrogram side. |
dend_defaults |
List with dendrogram default parameters. |
dend_params |
List with dendrogram parameters to overwrite defaults. |
full_plt |
Logical indicating if the whole heatmap is plotted or not. |
layout |
The heatmap layout (for reordering rows). |
x_long |
Data frame containing the values that will be plotted in the heatmap. |
annot_df |
Data frame containing annotations. |
annot_side |
Logical specifying which side the annotation will be drawn, analogous to 'dend_down' or 'dend_left' (use the one in the same dimension as the dendrogram). |
annot_pos |
Vector of the annotation positions along the opposite dimension. |
annot_size |
Size of annotation cells, specified in heatmap cells (1 being the size of one cell). |
Data frame with dendrogram segment and node parameters.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.