interactiveHeatmap | R Documentation |
This is a generic function which may be useful outside of this package. It
produces a heatmap based on an expression matrix and accompanying
experiment data in the form of a frame, d3heatmap()
.
interactiveHeatmap(
plotmatrix,
displaymatrix,
sample_annotation,
cluster_rows = TRUE,
cluster_cols = FALSE,
scale = "row",
row_labels,
colors = colorRampPalette(rev(RColorBrewer::brewer.pal(n = 7, name = "RdYlBu")))(100),
cexCol = 0.7,
cexRow = 0.7,
...
)
plotmatrix |
Expression/ other data matrix |
displaymatrix |
A matrix of values that might be displayed in cells |
sample_annotation |
A data frame with sample metadata |
cluster_rows |
Cluster rows? |
cluster_cols |
Cluster columns? |
scale |
'row', 'column' or none |
row_labels |
Vector labels to use for rows |
colors |
A vector of colors for the heatmap |
cexCol |
Character expansion factor passed to |
cexRow |
Character expansion factor passed to |
... |
Additional argments passed to |
output A plot as produced by pheatmap()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.