This repository records the R script of a R Shiny App project, which automates the data analysis and visualization of Catnip Quality Control (QC) samples. This Shiny app is part of bigger project, that has yielded multiple publications in well known journals, as listed in the following citations:
-
Patel H, Gomes EN, Yuan B, Lyu W, Wu Q, Simon JE. Investigation of Volatile Iridoid Terpenes in Nepeta cataria L. (Catnip) Genotypes. Molecules. 2022; 27(20):7057. (see original article)
-
Gomes, E. N., Patel, H., Yuan, B., Lyu, W., Juliani, H. R., Wu, Q., & Simon, J. E. (2023). Successive harvests affect the aromatic and polyphenol profiles of novel catnip (Nepeta cataria L.) cultivars in a genotype-dependent manner. Frontiers in Plant Science, 14, 1121582. (see original article)
-
Gomes, E. N., Yuan, B., Patel, H. K., Lockhart, A., Wyenandt, C. A., Wu, Q., & Simon, J. E. (2024). Implications of the Propagation Method for the Phytochemistry of Nepeta cataria L. throughout a Growing Season. Molecules, 29(9), 2001. (see original article)
The R code has been developed with reference to R for Data Science (2e), and the official documentation of tidyverse, and DataBrewer.co. See breakdown of modules below:
-
Data visualization with ggplot2 (tutorial of the fundamentals; and data viz. gallery).
-
Data wrangling with the following packages:
-
tidyr: transform (e.g., pivoting) the dataset into tidy structure.
-
dplyr: a basic tool to work with data frames.
-
stringr: work with strings.
-
regular expression: search and match a string pattern.
-
purrr: functional programming (e.g., iterating functions across elements of columns).
-
tibble: work with data frames in the modern tibble structure.