find_BBMRI_names {MiMIR} | R Documentation |
Function to translate Nightingale metabolomics alternative metabolite names to the ones used in BBMRI-nl
find_BBMRI_names(names)
names |
vector of strings with the metabolic features names to be translated |
data.frame with the uploaded metabolites names on the first column and the BBMRI names on the second column.
This is a function originally created for the package ggforestplot and modified ad hoc for our package (https://nightingalehealth.github.io/ggforestplot/articles/index.html).
library(MiMIR)
library(purrr)
#load the Nightignale metabolomics dataset
metabolic_measures <- synthetic_metabolic_dataset
#Find the metabolites names used in BBMRI-nl
nam<-find_BBMRI_names(colnames(metabolic_measures))