R packages for the behavioral (evolutionary) biologist’s tool kit
Marcelo Araya-Salas PhD
Neuroscience Research Center, University of Costa Rica
Common research questions
How animal acoustic signals vary in space and time? why?
What is their function?
What socio-ecological factors favor the evolution of specific features? (e.g. complexity)
Acoustic analysis workflow
Installation
To run the code in this presentation install this packages:
# from CRANinstall.packages("warbleR")install.packages("ohun")install.packages("PhenotypeSpace")install.packages("baRulho")install.packages("remotes")"#35B77933"# from githubremotes::install_github("maRce10/dynaSpec") #developmental need ffmpegremotes::install_github("maRce10/suwo") # developmental version
Get recordings
Package suwo
Streamline searching/downloading of nature media files (e.g. audios, photos) from online repositories.
# get spacespace_sim <- PhenotypeSpace::space_similarity(formula = group ~ MDS1 + MDS2, data = xcor_rect,type ="centroid.distance")# get triangular matrixtriang_sim <- PhenotypeSpace::rectangular_to_triangular(space_sim)
Quantify acoustic spaces
PhenotypeSpace
triang_sim
lbh1.wav-1
lbh1.wav-2
lbh1.wav-3
lbh1.wav-4
lbh1.wav-1
0.0000
21.2264
26.0197
28.0962
lbh1.wav-2
21.2264
0.0000
11.3383
12.2436
lbh1.wav-3
26.0197
11.3383
0.0000
17.7677
lbh1.wav-4
28.0962
12.2436
17.7677
0.0000
Quantify acoustic spaces
Odom. et al. 2021. Eco & Evol
Quantify acoustic spaces
Odom. et al. 2021. Eco & Evol
Dynamic spectrograms
DynaSpec
Acknowledgements
Grace-Smith Vidaurre (warbleR)
Jorge Elizondo (suwo)
Mattew Wilkins (dynaSpec)
Tim Wright
Cornell Lab of Ornithology
R packages for the behavioral (evolutionary) biologist’s tool kit
Marcelo Araya-Salas PhD
Neuroscience Research Center, University of Costa Rica