Cargando…

Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies

BACKGROUND: Few standardized and open-source tools exist for calculating dietary pattern indexes from dietary intake data in epidemiological and clinical studies. Miscalculations of dietary indexes, with suspected erroneous findings, are occasionally noted in the literature. OBJECTIVE: The primary a...

Descripción completa

Detalles Bibliográficos
Autores principales: Zhan, Jiada James, Hodge, Rebecca A, Dunlop, Anne L, Lee, Matthew M., Bui, Linh, Liang, Donghai, Ferranti, Erin P
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Cold Spring Harbor Laboratory 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10441286/
https://www.ncbi.nlm.nih.gov/pubmed/37609152
http://dx.doi.org/10.1101/2023.08.07.548466
_version_ 1785093347501670400
author Zhan, Jiada James
Hodge, Rebecca A
Dunlop, Anne L
Lee, Matthew M.
Bui, Linh
Liang, Donghai
Ferranti, Erin P
author_facet Zhan, Jiada James
Hodge, Rebecca A
Dunlop, Anne L
Lee, Matthew M.
Bui, Linh
Liang, Donghai
Ferranti, Erin P
author_sort Zhan, Jiada James
collection PubMed
description BACKGROUND: Few standardized and open-source tools exist for calculating dietary pattern indexes from dietary intake data in epidemiological and clinical studies. Miscalculations of dietary indexes, with suspected erroneous findings, are occasionally noted in the literature. OBJECTIVE: The primary aim is to develop and validate dietaryindex, a user-friendly and versatile R package that standardizes the calculation of dietary indexes. METHODS: Dietaryindex utilizes a two-step process: an initial calculation of serving size for each food and nutrient category, followed by the calculation of individual dietary indexes. It includes generic functions that accept any preprocessed serving sizes of food groups and nutrients, with the standard serving sizes defined according to the methodologies used in well-known prospective cohort studies. For ease of use, dietaryindex also offers one-step functions that directly reference common datasets and tools, including the National Health and Nutrition Examination Survey (NHANES) and Block Food Frequency Questionnaire, eliminating the need for data preprocessing. At least two independent researchers validated the serving size definitions and scoring algorithms of dietaryindex. RESULTS: Dietaryindex can calculate multiple dietary indexes of high interest in research, including Healthy Eating Index (HEI) - 2020, Alternative Healthy Eating Index 2010, Dietary Approaches to Stop Hypertension Index, Alternate Mediterranean Diet Score, Dietary Inflammatory Index, American Cancer Society 2020 dietary index, and Planetary Health Diet Index from the EAT-Lancet Commission. In our validation process, dietaryindex demonstrated full accuracy (100%) in all generic functions with two-decimal rounding precision in comparison to hand-calculated results. Similarly, using NHANES 2017–2018 data and ASA24 and DHQ3 example data, the HEI2015 outputs from dietaryindex aligned (99.95%–100%) with results using the SAS codes from the National Cancer Institute. CONCLUSIONS: Dietaryindex is a user-friendly, versatile, and validated informatics tool for standardized dietary index calculations. We have open-sourced all the validation files and codes with detailed tutorials on GitHub (https://github.com/jamesjiadazhan/dietaryindex).
format Online
Article
Text
id pubmed-10441286
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Cold Spring Harbor Laboratory
record_format MEDLINE/PubMed
spelling pubmed-104412862023-08-22 Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies Zhan, Jiada James Hodge, Rebecca A Dunlop, Anne L Lee, Matthew M. Bui, Linh Liang, Donghai Ferranti, Erin P bioRxiv Article BACKGROUND: Few standardized and open-source tools exist for calculating dietary pattern indexes from dietary intake data in epidemiological and clinical studies. Miscalculations of dietary indexes, with suspected erroneous findings, are occasionally noted in the literature. OBJECTIVE: The primary aim is to develop and validate dietaryindex, a user-friendly and versatile R package that standardizes the calculation of dietary indexes. METHODS: Dietaryindex utilizes a two-step process: an initial calculation of serving size for each food and nutrient category, followed by the calculation of individual dietary indexes. It includes generic functions that accept any preprocessed serving sizes of food groups and nutrients, with the standard serving sizes defined according to the methodologies used in well-known prospective cohort studies. For ease of use, dietaryindex also offers one-step functions that directly reference common datasets and tools, including the National Health and Nutrition Examination Survey (NHANES) and Block Food Frequency Questionnaire, eliminating the need for data preprocessing. At least two independent researchers validated the serving size definitions and scoring algorithms of dietaryindex. RESULTS: Dietaryindex can calculate multiple dietary indexes of high interest in research, including Healthy Eating Index (HEI) - 2020, Alternative Healthy Eating Index 2010, Dietary Approaches to Stop Hypertension Index, Alternate Mediterranean Diet Score, Dietary Inflammatory Index, American Cancer Society 2020 dietary index, and Planetary Health Diet Index from the EAT-Lancet Commission. In our validation process, dietaryindex demonstrated full accuracy (100%) in all generic functions with two-decimal rounding precision in comparison to hand-calculated results. Similarly, using NHANES 2017–2018 data and ASA24 and DHQ3 example data, the HEI2015 outputs from dietaryindex aligned (99.95%–100%) with results using the SAS codes from the National Cancer Institute. CONCLUSIONS: Dietaryindex is a user-friendly, versatile, and validated informatics tool for standardized dietary index calculations. We have open-sourced all the validation files and codes with detailed tutorials on GitHub (https://github.com/jamesjiadazhan/dietaryindex). Cold Spring Harbor Laboratory 2023-08-09 /pmc/articles/PMC10441286/ /pubmed/37609152 http://dx.doi.org/10.1101/2023.08.07.548466 Text en https://creativecommons.org/licenses/by-nc/4.0/This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License (https://creativecommons.org/licenses/by-nc/4.0/) , which allows reusers to distribute, remix, adapt, and build upon the material in any medium or format for noncommercial purposes only, and only so long as attribution is given to the creator.
spellingShingle Article
Zhan, Jiada James
Hodge, Rebecca A
Dunlop, Anne L
Lee, Matthew M.
Bui, Linh
Liang, Donghai
Ferranti, Erin P
Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies
title Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies
title_full Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies
title_fullStr Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies
title_full_unstemmed Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies
title_short Dietaryindex: A User-Friendly and Versatile R Package for Standardizing Dietary Pattern Analysis in Epidemiological and Clinical Studies
title_sort dietaryindex: a user-friendly and versatile r package for standardizing dietary pattern analysis in epidemiological and clinical studies
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10441286/
https://www.ncbi.nlm.nih.gov/pubmed/37609152
http://dx.doi.org/10.1101/2023.08.07.548466
work_keys_str_mv AT zhanjiadajames dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies
AT hodgerebeccaa dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies
AT dunlopannel dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies
AT leematthewm dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies
AT builinh dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies
AT liangdonghai dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies
AT ferrantierinp dietaryindexauserfriendlyandversatilerpackageforstandardizingdietarypatternanalysisinepidemiologicalandclinicalstudies