metricsCorrelations | R Documentation |
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).
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.
# 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.