We chose to re-create the data from the paper found here: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0087628
The original paper has three figures, but we chose to create a few of our own figures from the data since we had six group members.
The original data files can be found in the Data folder. These files were used to re-create the plots.
All the code we used can be found in Code folder.
The final code used to generate figure 1 can be found in the Figure1.Rmd file. The Figure1_FinalProject.R file contains the crude code troubleshooting that was used to generate the final .Rmd file. The Figure1.Rmd file contains all the descriptions of the code in markdown text and how the data was formatted to create figure 1.
The code used to generate figure 3 can be found in the Code folder. There are two code files (Final_project_code_figure3.R, and Final_project_figure3.Rmd), and each file has the descriptions to create the figure 3.
Final figures can be found in the Visualizations folder.
The final file for figure 1 is the Figure1.png file. An additional figure was generated from the data used to make figure 1 that visualizes all 20 elements at once. This file can be found as Figure1_all_elements.png.
There are 4 figures in the Visualizations folder. Two of those (Figure3_whole_Ca.jpeg, and Figure3_whole_Zn.jpeg) were created to compare the Ca and Zn content of the entire population by different Su type. The remaining two figures (Figure3_group_Ca.jpeg, and Figure3_group_Zn.jpeg) were made by randomly sampling 7 groups to create figures similar to those in the paper.