cor_result | R Documentation |
This function returns an object of class corRes (correlation Result)
cor_result(omicsData)
omicsData |
an object of the class 'lipidData', 'metabData', 'pepData',
'proData', 'nmrData', or 'seqData', created by
|
The pairwise correlations between samples are calculated based on
biomolecules that are observed in both samples. For seqData objects,
Spearman correlation is used. For all other data types, Pearson correlation
is used and data must be log transformed. See cor
for further details.
An n \times n
matrix of class corRes giving the correlation
between samples.
Kelly Stratton, Lisa Bramer
edata_transform
library(pmartRdata)
mymetab <- edata_transform(omicsData = metab_object, data_scale = "log2")
my_correlation <- cor_result(omicsData = mymetab)
myseq_correlation <- cor_result(omicsData = rnaseq_object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.