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 Oct. 14, 2024, 3:18 p.m.