View source: R/metricsAnalysis.R
plotMetricsCluster | R Documentation |
It clusters the value of the metrics in a SummarizedExperiment
object a an hclust dendogram from stats
. By default distance is measured in 'euclidean'
and hclust method is 'ward.D20.
plotMetricsCluster(data, scale = FALSE, k = NULL)
data |
A |
scale |
Boolean. If true input data is scaled. Default: FALSE. |
k |
Integer. If not NULL a 'cutree' cut on the cluster is done. Default: NULL |
An hclust object.
# Using example data from our package
data("ontMetrics")
plotMetricsCluster(ontMetrics, scale=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.