View source: R/clusterProfile.R
getDendrogram | R Documentation |
Plot dendrogram tree
getDendrogram(dd = NULL)
dd |
dendrogram object (see ?clusterDataDend) |
A dendrogram plot for the genes in the input phylogenetic profiles.
Vinh Tran tran@bio.uni-frankfurt.de
clusterDataDend
data("finalProcessedProfile", package="PhyloProfile")
data <- finalProcessedProfile
profileType <- "binary"
profiles <- getDataClustering(
data, profileType, var1AggregateBy, var2AggregateBy)
distMethod <- "mutualInformation"
distanceMatrix <- getDistanceMatrix(profiles, distMethod)
clusterMethod <- "complete"
dd <- clusterDataDend(as.dist(distanceMatrix), clusterMethod)
getDendrogram(dd)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.