correlation: Computing correlations between any two samples.

Description Usage Arguments Value Author(s)

View source: R/correlation.R

Description

Computing correlations between any two samples.

Usage

1
2
3
 correlation(data_before,data_after,method="pearson")

)

Arguments

data_before

Sample-by-matrix original metabolomics data.

data_after

Sample-by-matrix metabolomics data after applying batch removal methods.

method

Specify the method to compute correlation, one of the pearson and spearman.

Value

A matrix containing the correlation coefficients between any two samples.

Author(s)

Kui deng dengkui_stat@163.com


dengkuistat/WaveICA documentation built on Nov. 6, 2021, 6:21 p.m.