Behavioral Data Collection and Circular Statistics: Testing Phototaxis in an Isopod

Project Summary

This data expedition focused on the mechanisms animals use to orient using environmental stimuli, the methods that scientists use to test hypotheses about orientation, and the statistical methods used with circular orientation data. Students collected their own data set during the class period, performed hypothesis testing on their data using circular statistics in R, and aggregated their data to formally test the hypothesis that isopods orient with light using an RShiny online application.

This exercise served as a capstone to a series of four class sessions on orientation and navigation, where students read primary scientific literature that used circular statistics in their methods. This data exercise was used to give students the opportunity to collect their own data, discover why linear statistics wouldn’t be sufficient to analyze them, and then implement their own analysis. The goal of this course was to give students a better understanding of circular statistics, with hands-on application in forming and testing a hypothesis.

Themes and Categories
Year
2021

Graduate students: Jesse Granger and Jason Dinh

Sponsoring faculty member: Dr. Stephen Nowicki

Undergraduate course: Biology 268 - Mechanisms of Animal Behavior

Guiding Questions

  • How do animals orient with respect to light?
  • How would you design an experiment to test for different kinds of orientation?
  • How is circular data different than linear data?

Homework

Students were assigned homework to install R and RStudio and to learn how to navigate the interface of RMarkdown. Students learned to assign variables, code within code chunks, and use functions so that they would be prepared for the in-person R exercise.

Students also were assigned a brief reading that walked them through the differences between phototaxis and photokinesis. The goal of the reading was to encourage students to start thinking about how to analyze data, and how to design their own experiments. As such, the reading ended with two questions, the first asking them to interpret data in their own words, and the second asking them to brainstorm experimental designs to test for phototaxis.

In-Class Exercises

In class pictureThis expedition allowed students to develop and test hypotheses relating to animal orientation. For homework before class, students were assigned a reading that explores orientation in response to light cues and were sent a learning module that walked them through the basics of coding in R markdown.

To familiarize students with the concept, the lesson began with a brief lecture on animal orientation and linear statistics, centered around their assigned reading. Students then discussed different ways they could test an animal for phototaxis (movement towards or away from a light source).

Then, students began an experiment to test if pillbugs exhibited phototaxis. We discussed the basic life-history and biology of pillbugs, and students broke into groups to form a hypothesis on whether or not pill bugs would have phototaxis. Students hypothesized that pillbugs would exhibit negative phototaxis because they prefer damp, cold habitat.

After developing hypotheses, students began the experiment. In their groups of four, the students performed the following experiment:

  1. Students in groups of four were each given five isopods, an orientation arena, and one lamp.
  2. They placed one isopod in the center of the arena under a clear plastic cup.
  3. They placed the lamp at the northern part of the arena and, for the “light on” experimental animals turned it on, and for the “light off” control animals left it off.
  4. Students then lifted the cups from the isopod and recorded the direction it was moving in when it reached the edge of the orientation arena.
  5. One member of each group then wrote their results on the chalkboard. We aggregated class data to test if pillbugs exhibited phototaxis.

After performing their experiments, the instructors led the group in a discussion of how to analyze their data. At this point, the concept of circular statistics was introduced once the students realized why the data they collected could not be analyzed with traditional linear statistics. We held a brief lecture on circular statistics, and led students through example code on how to plot and analyze the data they had collected in R.  Students returned to their breakout groups to analyze their data while Data Expedition instructors circulated the room to provide additional programming assistance.

In the final 10 minutes of class, the Data Expedition instructors used the full class’s data to demonstrate how to use an Rshiny app that performs circular statistics. While the experimental group was significantly oriented away from the light source, the control group was also significantly oriented. While this had not been anticipated originally, it provided a valuable addition to the course material because it allowed for discussion about experimental design and including control groups.

As an “exit ticket” students were asked to show the plot and statistical tests from their group’s data, as well as interpret the results from the full class’s data in relation to their hypothesis and discuss ways to improve the experiment in the future. All of the groups had predicted the isopods would be negatively phototactic. Many students additionally suggested an improvement to the experimental set up would be closing the windows to prevent stray light from interfering with the experiment.

Resources

Related Projects

In this two-day, virtual data expedition project, students were introduced to the APIM in the context of stress proliferation, linked lives, the spousal relationship, and mental and physical health outcomes.

Stress proliferation is a concept within the stress process paradigm that explains how one person’s stressors can influence others (Thoits 2010). Combining this with the life course principle of linked lives explains that because people are embedded in social networks, stress not only can impact the individual but can also proliferate to people close to them (Elder Jr, Shanahan and Jennings 2015). For example, one spouse’s chronic health condition may lead to stress-provoking strain in the marital relationship, eventually spilling over to affect the other spouse’s mental health. Additionally, because partners share an environment, experiences, and resources (e.g., money and information), as well as exert social control over each other, they can monitor and influence each other’s health and health behaviors. This often leads to health concordance within couples; in other words, because individuals within the couple influence each other’s health and well-being, their health tends to become more similar or more alike (Kiecolt-Glaser and Wilson 2017, Polenick, Renn and Birditt 2018). Thus, a spouse’s current health condition may influence their partner’s future health and spouses may contemporaneously exhibit similar health conditions or behaviors.

However, how spouses influence each other may be patterned by the gender of the spouse with the health condition or exhibiting the health behaviors. Recent evidence suggests that a wife’s health condition may have little influence on her husband’s future health conditions, but that a husband’s health condition will most likely influence his wife’s future health (Kiecolt-Glaser and Wilson 2017).

Fluid mechanics is the study of how fluids (e.g., air, water) move and the forces on them. Scientists and engineers have developed mathematical equations to model the motions of fluid and inertial particles. However, these equations are often computationally expensive, meaning they take a long time for the computer to solve.

 

To reduce the computation time, we can use machine learning techniques to develop statistical models of fluid behavior. Statistical models do not actually represent the physics of fluids; rather, they learn trends and relationships from the results of previous simulation experiments. Statistical models allow us to leverage the findings of long, expensive simulations to obtain results in a fraction of the time. 

 

In this project, we provide students with the results of direct numerical simulations (DNS), which took many weeks for the computer to solve. We ask students to use machine learning techniques to develop statistical models of the results of the DNS.

Female baboons occasionally exhibit large swellings on their behinds. Although these ‘sexual swellings’ may evoke disgust from human on-lookers, they provide important information to group members about a female’s reproductive state. To figure out what these sexual swellings mean and whether male baboons notice, we need to look at the data.