Skip to content

Code associated with the article "Learning steers the ontogeny of an efficient hunting sequence in zebrafish larva."

License

Notifications You must be signed in to change notification settings

dafishcode/ontogenyofhunting_pub

Repository files navigation

Ontogeny of Hunting in Larval Zebrafish

Konstantinos Lagogiannis 2019 (c o s t a s l a g [at] gmail.com) Example analysis code used to replicate statistical inference on zebrafish behaviour shown on manuscript : BioArxiv Pre-Print Available

Note: This code repository may change in response to feedback. The following files contain example code in R, along with the data replicating the analysis of zebrafish behaviour in the article "Learning steers the ontogeny of an efficient hunting sequence in zebrafish larva." , by K. Lagogiannis, G. Diana and M. P Meyer, of King's College London.

  • stat_3DLarvaGroupBehaviour.r
    • Hierarchical model of revealing the typical hunting behaviour of each rearing group.
  • stat_FishDev-Length.r
    • Gaussian models used for comparing larval lengths between rearing groups.
  • stat_ClusterCaptureBouts.r
    • The mixture of 2 Gaussians used to classify capture bouts based on speed and distance from prey.
  • stat_HuntEfficiency.r
    • Model file showing how hunt rates and capture efficiency data was modeled jointly, and how the distribution of consumption of each group was estimated (Fig. 3)

The above files make use of the data in the dat subfolder. The data is preprocessed and was extracted from high-speed video recording that were analysed using a tracker I developed, which is not included here. The outcome of hunting, which is used to estimate the capture efficiency of each larva, was obtained by manually scoring process that was blind to rearing group.

About

Code associated with the article "Learning steers the ontogeny of an efficient hunting sequence in zebrafish larva."

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages