Honey bees actively process dead mice inside their nests

Contained in this repository is the R project used to analyze observation hive data from the paper.

File Tree:
``` bash
├── LICENSE # details of MIT license for this project
├── mouse.Rproj # R project containing all necessary files for analysis
├── mousecurrentdata.R # Final, up-to-date version of R script to visualize mouse data
├── mousedata.csv # Original raw dataset of all collected observation hive data
├── 3d_mice_data.xlsx # Excel worksheet including all data collected for the traditional nest box experiment
├── data_summaries.xlsx # Excel worksheet summarizing behavioral counts across time periods, used for in-text summaries
└── README.md # You are here!
```

Information regarding mouse.csv columns:

  - replicate: Identifier given to unique colony + mouse.
  
  - date_mouse_added: Date (month/day/year) mouse was given to colony.
  
  - date_of_obs: Date (month/day/year) when observation session (1 session per row) took place.
  
  - days_post_install: How many days followed the date of mouse installation when the observation took place.
  
  - time_of_obs: Time of day (hour:minute:second, to nearest minute) when the observation began.
  
  - observer: Name of observer.
  
  - primary_layer: Ignored in analysis and only measured in replicate 1, intended to describe which "layer" of the carcass (skin, muscle, etc.) was most prominent. We ceased measuring this during the experiment as it was difficult to discern.
  
  - debris: notes on any debris present in the area around the mouse.
  
  - num_at_start: The number of bees touching the carcass at the start of the observation.
  
  - num_marked_at_start: We attempted marking bees in replicate 1, and counted how many marked bees were on the mouse at the beginning of observations. We didn't continue this after 16 days as it proved impractical for the experiment.
  
  - Behavioral counts:
  
    - X_0to15, X_15to30, X_30to45, and X_45to60 (where X = chewing, tugging, sucking, carry, cant_tell, or cementing): Counts of number of bees performing a given behavior within the 15-minute interval.
    
    - X_mean (where X = chewing, tugging, sucking, carry, cant_tell, or cementing): mean of the four 15-minute interval counts.
    
    - X_stdev (where X = chewing, tugging, sucking, carry, cant_tell, or cementing): Standard deviation of the four 15-minute interval counts.
    
  - focal_area_0to15, focal_area_15to30, focal_area_30to45, & focal_area_45to60: Note of area(s) on mouse where worker interaction is particularly concentrated within each 15-minute interval. Entries of "NA" represent intervals where interaction was very low or absent such that no focal area is apparent. Entries of "all" represent intervals where interaction was high all over the mouse body.
  
  - num_at_end: The number of bees touching the carcass at the end (60 mins) of the observation.
  
  - num_marked_at_end: We attempted marking bees in replicate 1, and counted how many marked bees were on the mouse at the end of observations. We didn't continue this after 16 days as it proved impractical for the experiment.
  
  - notes: any notes taken by the observer. 
  