Annotated hierarchical clustering
1 2 | annotatedCluster(mat, scale = T, center = T, annotation = NULL,
dend_height = unit(5, "cm"), silent = T, ...)
|
mat |
a matrix, with the samples organized in columns. |
scale |
either a logical value or a numeric vector of length equal to the number of columns of ‘x’. Scale the data before clustering. |
center |
either a logical value or a numeric vector of length equal to the number of columns of ‘x’. Center the data before clustering. |
annotation |
a data frame. Each column will be treated as a simple annotation. The data frame must have column names. |
dend_height |
height of the column cluster, should be a ‘unit’ object. |
... |
functions which define complex annotations or vectors of simple annotation. Values should be named arguments to be passed to 'Heatmap' function from 'ComplexHeatmap' package. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.