correlation: correlation of features between two Metabolite objects

View source: R/process.R

correlationR Documentation

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".

verbose

print log information.

Value

A data.table with correlation coefficients.

See Also

cor


metabolomicsR documentation built on April 29, 2022, 9:05 a.m.