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


XikunHan/metabolomicsR documentation built on Feb. 7, 2024, 1:17 p.m.