feat1: vector of strings with the names of the selected variables in dat
feat2: vector if strings with the names of the selected variables in dat2
method: indicates which methods of the correlation to use
quiet: logical to suppress the messages in the console
Returns
correlations of the selected variables in the 2 martrices
Examples
library(stats)#load the datasetm <- as.matrix(synthetic_metabolic_dataset)#Compute the pearson correlation of all the variables in the data.frame metabolic_measurescors<-cor_assoc(m, m, MiMIR::metabolites_subsets$MET63,MiMIR::metabolites_subsets$MET63)