Logo image
FishDiveR: wavelet analyses and machine learning provide robust classification of animal behaviour from time-depth data
Journal article   Open access   Peer reviewed

FishDiveR: wavelet analyses and machine learning provide robust classification of animal behaviour from time-depth data

Calvin S Beale, Jenna L Hounslow, Angela J E Beer, Matias Braccini, Mark V Erdmann, Alastair Harry, Neil R Loneragan, Mark Meekan, Stephen J Newman, David Righton, …
Movement ecology, Vol.14(1)
2026
PMID: 41572415
pdf
Published9.38 MBDownloadView
CC BY-NC-ND V4.0 Open Access

Abstract

Behaviour classification Vertical movement K-means clustering R package Principal component analysis Sampling frequency Satellite archival tags
Biologging devices have revolutionised our understanding of aquatic animal movement by enabling the collection of detailed depth and temperature time-series. The advent of pop-up satellite archival tags has been particularly impactful, facilitating the collection of tens of thousands of depth time-series (DTS) datasets, with deployment periods ranging from days to years. Datasets from recovered tags are more detailed than those transmitted via satellite, yet both are commonly reported with rudimentary histograms of time-at-temperature and time-at-depth. Such histograms often fail to capture the complex temporal dynamics of vertical movements that are available from the high sampling frequency time-series in recovered tags. This study describes a robust and effective methodological workflow for the quantitative analysis of large DTS datasets collected from archival tags deployed on gill-breathing aquatic animals, utilising continuous wavelet transformation (CWT), Principal Component Analysis (PCA), and k-means clustering. CWT was employed to detect key periodic patterns within the data. Daily wavelet components were calculated across different wavelet periods (e.g., 5-min through 24-h) and reduced via PCA to characterise daily vertical movement behaviour while preserving variance. Finally, unsupervised k-means clustering was used to classify vertical movement behaviours according to their wavelet components and depth summary statistics. This approach efficiently processed large quantities of data, and validation using simulated data demonstrated its robustness and versatility, with assigned behaviour clusters matching the original simulated behaviour types with high consistency (97.7%). For the empirical data, distinct behavioural clusters were identified across a wide range of species, including an oceanic manta ray Mobula birostris, whale shark Rhincodon typus, Atlantic cod Gadus morhua, and largetooth sawfish Pristis pristis. Down sampling of the DTS revealed the workflow to be somewhat insensitive to the sampling frequency of tags, maintaining 83.9% consistency as sampling frequency decreased from one to 15-minutes. These results not only underscore the workflow’s efficacy but also highlight its broad applicability in diverse settings. To facilitate uptake of this approach, an R package FishDiveR, tailored for the implementation of this analytical methodological workflow has been developed.

Details

Metrics

1 File views/ downloads
5 Record Views
Logo image