Description Usage Arguments Value Examples
Calculation of Pearson correlation coefficient between every pair of metrics available in order to quantify their interrelationship degree. The score is in the range [-1,1]. Perfect correlations: -1 (inverse), and 1 (direct).
1 | metricsCorrelations(data, margins = c(0, 10, 9, 11), getImages = TRUE)
|
data |
A |
margins |
See |
getImages |
Boolean. If true, a plot is displayed. |
The Pearson correlation matrix as an assay
in a SummarizedExperiment
object.
1 2 3 | # Using example data from our package
data("ontMetrics")
cor = metricsCorrelations(ontMetrics, getImages = TRUE, margins = c(1,0,5,11))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.