Description Usage Arguments Value Author(s)
Does a hierarchical clustering of the data and draws a dendrogam with colored branches and leaved based on the sample definition.
1 | plot_colored_dendrogram(exp_data,groups, method="pearson", link="average", do.legend=F, unClusteredBranchColor="black", legend.pos = "topright", ...)
|
exp_data |
expression matrix, columns represent the samples and rows the genes (or transcripts) |
groups |
numeric vector describing the relationships of columns to certain groups (like biological replicates) |
method |
character string defining which correlation coefficient should be used as similarity measure pearson (default), spearman, or kendall |
link |
character sting defining which agglomeration method to be used. Default: "average". For more information see parameter method at hclust |
do.legend |
boolean value defining if a color legend should be ploted |
unClusteredBranchColor |
character string defining the color to use if two brnaches belong to different sample types |
legend.pos |
character string defining the position of the legend e.g. "topright" (default), "topleft",... legend |
... |
optional plot parameters plot |
a plot
Alexander Gabel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.