# November 12, 2019 - Juvenile Geoduck Data Analysis

Since I have completed all of the geoduck measurements on ImageJ and have put them all in the shell length google spreadsheet (refer to my last post), I will begin analyzing this data with Shelly using R.

### Goals of the Day

- Refamiliarize myself with R
- Begin doing juvenile geoduck data analysis with Shelly
- Find a way to link posts from my notebook to the collective Genefish wordpress site.

### Current Lab Work

*R Review*

Although I have used R in the past, I am refreshing my memory on R by looking up R tutorials online. I have refreshed my memory on:

- Importing files
- Doing basic statistical analyses (such as finding the mean, median, standard deviation, etc…)
- Creating basic graphs (scatter plots and histograms)

Here is an example of a histogram that I created:

*Juvenile Geoduck Data Analysis*

I worked with Shelly to analyze the juvenile geoduck shell measurements by working on a script in R. I learned how to compile an excel document with multiple tabs into one data file as well as create complex graphs and analyze the statistical significance of the data collected (The script that we worked together can be found here)!

We created several different graphs together using ggplot2, but the type of plot we decided to use in the end was a density plot showing the 4 different treatments in different colors (as seen below):

We noticed that the geoduck that were in the var.low parental and the var.low current treatment (the purple graph) had the highest density of the longest shell lengths, which is surprising since I had assumed that the geoducks grown in the low pH conditions would have mostly smaller shells. So, a possible next step could be to find a way to see the growth rate of geoducks in the treatment conditions by comparing start and end size distributions (Shelly created an issue to get some input on finding a way to do this).

*Linking Journal Posts to Genefish Wordpress*

I still haven’t found a way to connect my journal posts to the Genefish wordpress, so I have created an issue to find out if there is a way to do this.