Generate an interactive clustered heatmap of summary statistics data.
Summary statistics data.
Numeric columns to plot in the heatmap.
Indices of rows to include. Set to NULL to include all rows,
but be warned that this can become very computationally expensive.
Variable to aggregate data by.
Set to NULL to skip this step.
Function to aggregate cols with.
Show the heatmap as a correlation matrix instead of a feature x sample matrix.
an integer scalar with the desired number of groups by which to color the dendrogram's branches in the rows (uses color_branches) If NA then find_k is used to deduce the optimal number of clusters.
Variables in dat to include as row-wise annotations.
Print the plot.
Arguments passed on to heatmaply::heatmaply
xcan either be a heatmapr object, or a numeric matrix
Defaults to TRUE unless x contains any NAs.
A named list containing an interactive heatmaply object and the data used to create it.
dat <- ThreeWayTest::data_matrix_final
cm <- clustermap(dat = dat)
#> Loading required namespace: heatmaply