correlations | R Documentation |
Feature correlation analysis.
correlations(d, ...)
## S4 method for signature 'AnalysisData'
correlations(
d,
method = "pearson",
pAdjustMethod = "bonferroni",
corPvalue = 0.05,
minCoef = 0,
maxCor = Inf
)
## S4 method for signature 'Analysis'
correlations(d)
d |
S4 object of class |
... |
arguments to pass to specific method |
method |
correlation method. One of |
pAdjustMethod |
p-value adjustment method. See |
corPvalue |
p-value cut-off threshold for significance |
minCoef |
minimum absolute correlation coefficient threshold |
maxCor |
maximum number of returned correlations |
Correlation analyses can be used to identify associated features within data sets. This can be useful to identifying clusters of related features that can be used to annotate metabolites within data sets. All features are compared and the returned table of correlations are thresholded to the specified p-value cut-off.
A tibble containing results of significantly correlated features.
library(metaboData)
d <- analysisData(abr1$neg[,200:300],abr1$fact)
correlations(d)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.