correlation: correlation of features between two Metabolite objects
Description
Calculate the correlation of features between two Metabolite objects
Usage
correlation(
object_X = NULL,
object_Y = NULL,
method = "pearson",
verbose = TRUE
)
Arguments
object_X
The first Metabolite object.
object_Y
The second Metabolite object.
method
a character string to calculate correlation coefficient. One of "pearson" (default), "kendall", or "spearman".
Value
A data.table with correlation coefficients.