DOI: 10.6084/m9.figshare.5457442.v1
title: Datasets and R.code: "Sickness behaviors in vampire bats (Desmodus rotundus)"

description: Fileset contains datasets as well as R. code supporting "sickness behavior reduces allogrooming in vampire bats". R- code "dyadic_social_grooming_analysis" contains simple model of how sickness induced changes in allogrooming given to other individuals, could affect disease transmission.<br>Detailed description of individual datasets:<br>(1) "physiology analysis"group = Group the individual was housed in (1-7)experiment = Week, experiment 1 = week 1, experiment 2 = week 2individual = injected individualtreatment = treatment (LPS or PBS)bm.postmpre = bodymass post injection minus bodymass pre-injection (grams)WBC.postmpre = white blood cell concentration (cells/ml) post-injection minus pre-injectionNL.postmpre = NL ratio post-injection minus NL ratio pre-injection<br>(2) "individual_behaviors_means"focal.bat: focal bat of behavior scoring after injectiontreatment: treatment (LPS or PBS)activity: mean activity rate of 2 hours observation ((counts hour 1 / onscreen counts) + (counts hour 2 / onscreen counts)) / 2sleep.rate: mean sleep rate of 2 hours observation ((counts hour 1 / onscreen counts) + (counts hour 2 / onscreen counts)) / 2grooming.rate: mean self-grooming rate of 2 hours observation ((counts hour 1 / onscreen counts) + (counts hour 2 / onscreen counts)) / 2ml.rate: mean mouthlicking rate of 2 hours observation ((counts hour 1 / onscreen counts) + (counts hour 2 / onscreen counts)) / 2socgroom.rate: mean social grooming rate of 2 hours observation ((counts hour 1 / onscreen counts) + (counts hour 2 / onscreen counts)) / 2moving.rate: mean moving rate of 2 hours observation ((counts hour 1 / onscreen counts) + (counts hour 2 / onscreen counts)) / 2group: group the focal bat was housed in (from 1-7)groupsize: groupsize of the group the focal bat was housed in (2 or 4)<br>(3) "raw_behavior_scores"focal.bat: focal bat of behavior scoring after injectiontreatment: treatment of focal bat (LPS or PBS)socialgrooming.count: number of times the focal bat was scored social groominggrooming.count: number of times the focal bat was scored self-groomingsum: always 120 (scoring of behavior every 30 seconds for an hour equals 120)not.count: number of times the focal bat was scored offscreenobs.count: total observation count (120) minus the offscreen count (not.count)scoring.hour: Scoring hour 1 (3 h post-injection) or scoring hour 2 (6 hours post-injection).<br>(4) "dyadic_social_grooming_dataset"focal.bat: focal bat of observationpartner: partner bat the focal bat was interacting withpair: description of two interacting bats as a pairgroup: group the focal bat was housed in (groups 1-7)groupsize: groupsize of the group the focal bat was housed in (2 or 4)day.in.exp: Day on the experimental timeline (see figure S1)week: Week in the experiment (week 1 or 2)duration.rec: duration in seconds the focal bat received grooming from partnerduration.act: duration in seconds the focal bat gave grooming to partnerhours.rec: hours recorded (always 2 h except for nights 5 and 13 due to technical problems)dir.dyad: unique description of a pair of two bats. Directional dyad, e.g focal bat is A and partner is B so directional dyad is B-&gt;Atreatment: treatment during the experimental week 1 or 2injection: injection = "no" for baseline nights and "yes" for nights when the focal bat was injected with either LPS or PBS