correlate,Chromatogram,Chromatogram-method {xcms} | R Documentation |
Correlate intensities of two chromatograms with each other. If the two
Chromatogram
objects have different retention times they are first
aligned to match data points in the first to data points in the second
chromatogram. See align()
for more details.
## S4 method for signature 'Chromatogram,Chromatogram' correlate(x, y, use = "pairwise.complete.obs", method = c("pearson", "kendall", "spearman"), align = c("matchRtime", "approx"), ...)
x |
|
y |
|
use |
|
method |
|
align |
|
... |
optional parameters passed along to the |
numeric(1)
with the correlation coefficient.
Michael Witting, Johannes Rainer