romicsHclust | R Documentation |
Plots the hierarchical clustering of the samples contaned in the romics_object calculated using the functions dist() and hclust() (see documentation of those R functions for more details). The colors used for the plotting will correspond to the main_factor of the romics_object.
romicsHclust( romics_object, method_dist = "euclidean", method_hclust = "ward.D" )
romics_object |
has to be a log transformed romics_object created using romicsCreateObject() and transformed using the function log2transform() or log10transform() |
method_dist |
the distance measure to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". Any unambiguous substring can be given. |
method_hclust |
the agglomeration method to be used. This should be (an unambiguous abbreviation of) one of "ward.D", "ward.D2", "single", "complete", "average" (= UPGMA), "mcquitty" (= WPGMA), "median" (= WPGMC) or "centroid" (= UPGMC). |
This function uses the dist() and hclust() functions to calculate the hierachical clustering and then plots the hclust with colors based on the current main_factor of the romics_object.
a hierarchical clustering tree plot with its branches colored by factor.
Geremy Clair
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.