Converts a single metabolite entry containing metadata and nested DATA field into a flat tibble structure suitable for analysis.
Examples
if (FALSE) { # \dontrun{
entry <- list(
study_id = "ST001",
metabolite_name = "Glucose",
DATA = data.frame(sample1 = 100, sample2 = 150)
)
flatten_entry(entry)
} # }
