View source: R/plot_heatmaps.R

plot_cluster_heatmaps | R Documentation |

Draw two heatmaps

```
plot_cluster_heatmaps(
top_matrix,
bottom_matrix,
dendrograms,
clusters_set,
annotation = NULL,
scaled = FALSE,
distance_method = NULL,
cluster_features = TRUE,
show_col_names = TRUE
)
```

`top_matrix` |
matrix with selected variables |

`bottom_matrix` |
matrix with unselected variables |

`dendrograms` |
to draw above top matrix |

`clusters_set` |
list of cluster indices |

`annotation` |
(optional) any kind of annotation object to draw as top_annotation |

`scaled` |
(optional) boolean to modify colour scale if data has already been scaled |

`distance_method` |
(optional) if "Binary", use discrete colors for heatmap |

`cluster_features` |
(optional) If FALSE, row order does not change |

`show_col_names` |
(optional) If FALSE, does not show column names at base of heatmap |

two concatenated heatmaps drawn with ComplexHeatmap::draw

visxhclust documentation built on March 31, 2023, 7:30 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.