View source: R/metricsAnalysis.R
plotMetricsClusterComparison | R Documentation |
It plots a clustering comparison between two different k-cluster vectors for a set of metrics.
plotMetricsClusterComparison(data, k.vector1, k.vector2 = NULL, seed = NULL)
data |
A |
k.vector1 |
Vector of positive integers representing |
k.vector2 |
Optional. Vector of positive integers representing |
seed |
Positive integer. A seed for internal bootstrap. |
Nothing.
# Using example data from our package
data("rnaMetrics")
stabilityData <- stabilityRange(data=rnaMetrics, k.range=c(2,4), bs=20, getImages = FALSE)
qualityData <- qualityRange(data=rnaMetrics, k.range=c(2,4), getImages = FALSE)
kOptTable = getOptimalKValue(stabilityData, qualityData)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.