library(stats)
#load the dataset
m <- as.matrix(synthetic_metabolic_dataset)
#Compute the pearson correlation of all the variables in the data.frame metabolic_measures
cors<-cor_assoc(m, m, MiMIR::metabolites_subsets$MET63,MiMIR::metabolites_subsets$MET63)
Run the code above in your browser using DataLab