Takes a dataset and calculates the optimum correlation value to perform the clustering of peaks in the identification of metabolites for NMR peaks data, which leads to the maximum number of clusters of the variables.
find_corr(dataset_orig, CMETH = "pearson", maxPeaks=40)List representing the dataset from an nmr peaks metabolomics experiment.
Correlation method used to cluster the variables. Defaults to "pearson".
Maximum number of peaks that a cluster can have when finding the optimum correlation value.
Value of the optimal correlation.