Takes a dataset and performs clustering of variables, according to a correlation. The variables will be separated into different clusters, according to a minimum correlation between variables. Each cluster may correspond to a metabolite.
nmr_clustering(dataset_orig, CMETH = "pearson", CVAL = 0.95, MVER = 2)List representing the dataset from an nmr peaks metabolomics experiment.
Correlation method used to cluster the variables. Defaults to "pearson".
Minimum correlation between variables, so they can belong to the same cluster. Can be calculated using find_corr function.
Minimum number of variables in each cluster. Only the clusters with at least MVER variables will be returned.
List with the formed clusters