Abstract
AbstractThere are scarce resources available for analyzing 24-hour dietary records. Here we introduce DietR, a set of functions written in R for the analysis of 24-hour dietary recall or records data, collected with either the Automated Self-Administered 24-hour (ASA24) dietary assessment tool or two-day data from the National Health and Nutrition Examination Survey (NHANES). The R functions are intended for food and nutrition researchers who are not computational experts. DietR provides users with functions to (1) clean dietary data; (2) analyze 24-hour dietary intakes in relation to other study-specific metadata variables; (3) visualize percentages of calorie intake from macronutrients; (4) perform principal component analysis (PCA) ork-means to group participants by similar dietary patterns; (5) generate foodtrees based on the hierarchical information of food items consumed; (6) perform principal coordinate analysis (PCoA) taking food classification information into account; (7) and calculate diversity metrics for overall diet and specific food groups. DietR includes a set of tutorials available on a website (https://computational-nutrition-lab.github.io/DietR/), which are designed to be self-paced study materials. DietR enables users to visualize dietary data and conduct data-driven dietary pattern analyses using R to answer research questions regarding diet. As a demonstration of DietR, we applied DietR to a set of created 24-hour dietary records data to demonstrate the basic functions of the package. We also applied DietR to a subset of 24-hour recall data from NHANES to demonstrate analyses using dietary diversity metrics. We present the results of this example NHANES analysis comparing legume diversity with waist circumference.
Publisher
Cold Spring Harbor Laboratory
Reference20 articles.
1. The Association between Food Patterns and the Metabolic Syndrome Using Principal Components Analysis: The ATTICA Study
2. R Core Team. R: A language and environment for statistical computing. [Internet]. Vienna, Austria: R Foundation for Statistical Computing; 2017. Available from: https://www.r-project.org/
3. CDC National Center for Health Statistics. General guidelines for reviewing & cleaning data. 2020. p. 1–6 Reviewing & cleaning ASA24 data.
4. Wickham H. ggplot2: Elegant graphics for data analysis [Internet]. Springer-Verlag New York; 2016. Available from: https://ggplot2.tidyverse.org
5. Kassambara A , Mundt F. factoextra: Extract and visualize the results of multivariate data analyses [Internet]. 2020. Available from: https://cran.r-project.org/package=factoextra