calculateDendrogram | R Documentation |
Calculate a clustering dendgrogram based on correlation
calculateDendrogram(
plotmatrix,
cor_method = "spearman",
cluster_method = "ward.D2"
)
plotmatrix |
Expression/ other data matrix |
cor_method |
'spearman' or 'perason' |
cluster_method |
Clustering method to pass to hclust (Default: 'ward.D2') |
output Object of class 'dist'
data(airway, package = "airway")
mymatrix <- assays(airway)[[1]]
calculateDendrogram(mymatrix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.