Cold Acclimation Green Crab Experiment Part 44

Investigating impact of demographic variables

We got reviewer comments back! Overall most of them are targeted at the text itself, and not any analyses. In any case, Carolyn and I both agree that the modeling framework should be revised, so that’s what I’m doing.

Here are the scripts I’m working with:

For all scripts, I did the same three-part analysis:

  1. Use a mixed-effects model and LRT analysis to determine if any demographic variables (sex, integument color, carapace width, weight, missing swimmers) significantly impacted righting response
  2. Include only significant demographic variables in a model to understand impact of explanatory variables (time, temperature, their interaction) on righting response to avoid overfitting
  3. Include only significant explanatory variables and demographic variables in a model to understand impact of genotype (genotype, presence of the C allele, presence of the T allele)

The results were the same for all populations: the demographic variables had no significant effect on righting response! None of the explanatory variable results changed, except that genotype is no longer significant for the ME population in Catlin’s experiment after multiple correction. Looks like I have three “near miss” impacts of genotype on phenotype, which is going to make streamlining the discussion a bit easier (I hope).

All output can be found here:

I learned two things during this analysis:

  1. I updated my R and R Studio to the latest versions before reworking my code. In the new version, pairs is no longer needed to look at contrast information from emmeans.
  2. If there is a coding error that says two models were fit to different datasets, that means that there is a missing value somewhere in your dataset that is messing with you. Turns out there were a handful in the MA dataset, which I was able to fix.

Based on the results (and Reviewer 2’s suggestion to highlight genotype-specific results for the cold temperature experiment), I revised some figures.

Image

Image

Image

Figures 1-3. Revised figures

Going forward

  1. Address reviewer comments
  2. Submit the revision!
  3. Troubleshoot lipid assay protocol
  4. Conduct lipid assay for crabs of interest
Written on June 18, 2025