Skip to content

Commit 3bd8440

Browse files
committed
Image updates and position adjustments
- Minor updates to run_pipeline.R including new screenshots - Adjust library positioning in provided_files.R
1 parent 3bfacbb commit 3bd8440

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

provided_files.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
# Polyphenol Estimator
44
# DII Calculation
55
# Built by: Stephanie Wilson
6-
# Date: November 2025
6+
# Date: February 2026
77
# ==============================
88

99
# PROVIDED FILES================
10-
# Unless moved, you do not have to change these
10+
# Unless moved, you do not have to change any file paths
11+
Local_R_packages = "local_library"
12+
dir.create(Local_R_packages, showWarnings = FALSE)
1113

1214
# Files for Polyphenol Estimator
1315
# FDA-FDD Database Version 3.1

run_pipeline.R

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
11
# ============================================================
22
# Run Polyphenol Estimator
33
# Built by: Stephanie Wilson
4-
# Date: November 2025
4+
# Date: February 2026
55
# ============================================================
66

77
# SET WORKING DIRECTORY
88
setwd(dirname(rstudioapi::getActiveDocumentContext()$path))
99

10-
# SOURCE FUNCTIONS
11-
# ------------------------------------------------------------
12-
source('functions/estimate_polyphenols.R')
13-
source('functions/calculate_DII.R')
14-
1510
# RUN POLYPHENOL ESTIMATOR
1611
# ------------------------------------------------------------
1712
# diet_input_file = 'user_inputs/UPDATE_THIS_PATH.csv'
1813
# type, specify "ASA24" or "NHANES"
1914
# report, specify "none", "html", or "md" for your reports
15+
source('functions/estimate_polyphenols.R') # loads function
2016
estimate_polyphenols(diet_input_file = 'user_inputs/VVKAJ_Items.csv',
21-
type = "ASA24", report = "none")
17+
type = "ASA24", report = "none")
2218

2319
# CALCULATE DIETARY INFLAMMATORY INDEX
2420
# ------------------------------------------------------------
2521
# report, specify "none", "html", or "md" for your reports
22+
source('functions/calculate_DII.R') # loads function
2623
calculate_DII(report = "none")
-3.57 KB
Loading
21.4 KB
Loading

0 commit comments

Comments
 (0)