Description Usage Arguments Value Examples
View source: R/metricsAnalysis.R
This method finds the optimal value of K per each metric.
1 | getOptimalKValue(stabData, qualData, k.range = NULL)
|
stabData |
An output |
qualData |
An output |
k.range |
A range of K values to limit the scope of the analysis. |
It returns a dataframe following the schema:
metric
, optimal_k
.
1 2 3 4 5 | # 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.