heatmapsM: Function to plot heatmaps separating groups generated by SOM...

Description Usage Arguments Details Value Author(s) See Also

View source: R/heatmapsM.R


This function display individual heatmaps for each group constructed by divisive clustering techniques, like SOM or k-means. It is possible to add hierarchical dendrograms to each group individually.


heatmapsM(data, groups, sampleT=NULL, doHier=FALSE, distfun=dist,
          hclustfun=hclust, ...)



numeric matrix to be displayed, including all observations from all groups.


numeric or character vector (with length equal to columns or rows of data) with identification of the groups to be separated. If numeric must contain the indexes and if character must contain the colnames or rownames.


list with 2 vectors, the first one specifying the first character of each sample label to be coloured according to the colours specified in the second vector.


logical indicating to plot or not the hierarchical branch in the other dimension of the matrix.


the function to be used for distance calculation.


the function for to be used for hierarchical cluster calculation.


additional parameters for image function.


This function is used internally by the functions hierM, somM and kmeansM. If you want to the hierarchical dendrogram in the other dimension, pay attention to the number of observations in this dimension, because the calculation of the hierarchical branch may be very time consuming!


This function display the heatmaps and don't return any object or value.


Elier B. Cristo, addapted by Gustavo H. Esteves <gesteves@vision.ime.usp.br>

See Also

hierM, somM, kmeansM

maigesPack documentation built on May 20, 2017, 9:29 p.m.
Search within the maigesPack package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.