Quantifying reproductive output in bats: a comparison of ultrasonography, body mass and nightly population monitoring
Data files
Oct 20, 2026 version files 1.69 MB
-
ECS26-0340.R1_Data.zip
1.68 MB
-
README.md
8 KB
Abstract
Reproductive success is a major contributor to population growth and an essential parameter for understanding and modelling population viability. Nonetheless, reproductive success is unquantified for many bat populations. Many bats form maternity roosts prior to birthing, where reproductive success can be accurately estimated by diagnosing reproductive status in a representative sample of females, or inferred from pre- and post-birthing population estimates. Different methods used to diagnose reproductive status in small-bodied bats vary in their sensitivity and specificity throughout gestation, and accurately estimating the number of young requires regular, precise population monitoring. Over two breeding seasons, we estimated pregnancy rates and monitored population size at a maternity roost of critically endangered Southern Bent-wing Bats (Miniopterus orianae bassanii) in southeastern Australia prior to, and following, the weaning of juveniles. Each spring, ultrasonography was used to diagnose pregnancy in wild-caught females, revealing a higher pregnancy rate in 2021 (82% of 284 females) than 2022 (62% of 304 females). Over summer, using automated nightly population monitoring using infra-red video footage, we estimated the number of weaned young each year, which differed by a similar magnitude to the pregnancy rates, with 7031 young weaning in the 2021 season and 5050 in the 2022 season. Finally, we modelled the ability of body mass (corrected for body size) to correctly identify pregnancies, and found high sensitivity for detection of pregnancy throughout gestation (0.86-0.92) but poor specificity in early spring (0.54), which improved in late spring (0.79). Ultrasonography proved to be a suitable in-field method for diagnosing pregnancy in a large sample of wild-caught bats, overcoming the limitations of other methods, like weight comparison and abdominal palpation, which rely on late-stage pregnancies for accurate diagnosis. However, nightly fly-out monitoring appears to be suitable for comparing annual trends in reproductive success at the maternity colony with no perceivable impact on these disturbance-prone bats.
Dataset DOI: 10.5061/dryad.ffbg79dbc
Description of the data and file structure
These data contain the necessary raw (capture) data (pregstages.csv & forearms.csv), R scripts (script_Repro.R) and processed PIT detection data used to estimate reproductive success at a maternity roost of Southern Bent-wing Bats (see Bail et al. 2026 for detail). Pregnancy diagnoses were classified with ultrasonography*. Number of young was estimated with population size and PIT detection data (T021.R, T022.R, T121.R, T122.R) at key times of year relevant to the species reproductive cycle. Body mass was corrected for size (using forearm measurements from capture data) then its predictive power was modelled.
*Pregnancies are indicated as 1 or Y for 'pregnant', 0 or N for 'not pregnant'. Forearm lengths are specified in millimeters (mm) and body mass in grams (g).
Data provided were collected following the capture of wild Southern Bent-wing Bat females, with relevant columns as: pregnancy status (diagnosed with ultrasound), forearm length (mm), body mass (grams), and unique ID.
In addition to capture data, relevant detection data from a PIT-tag reader at the site, and population size data, have been attached, only for the relevant period(s) of the study.
Files and variables
All data files are contained in the 'Data' folder which is accessible once the 'ECS26-0340.R1_Data.zip' file has been opened and unzipped.
File: forearms.csv
This file contains the forearm lengths(mm) and unique ID's to accompany body mass and pregnancy diagnosis data from female Southern Bent-wing Bats (Miniopterus orianae bassanii) in the pregstages.csv file. Unique ID's were assigned on capture and are not meaningful. Forearm lengths are measured in millimeters.
File: pregstages.csv
Capture data with unique ID's, notes, body mass, and pregnancy status as diagnosed by ultrasonography for captured female Southern Bent-wing Bat females. Forearm lengths for each unique ID are in the above file, body mass is measured in grams, pregnancies are listed as 'Y' for yes, in the 'Pregnancy Column', and 'N' for no, for non pregnancies.
Note on the following RDS files:
The following 4 RDS files contain PIT-tag data collected from the PIT-tag reader at the capture site, for two key periods in the breeding season of the species. These data are used to determine the proportion of adults who are no longer at the cave in T2, the later time period, who were present at T1. script_Repro.R contains the 'peak' counts for these periods from population estimation, and the date.
Essentially, at T1, the adult population size at the site peaks (A1). By T2, some adults have left and the young of the year (juveniles) emerge with the adults, leading to a higher population estimate of adults and juveniles (N1). Subtracting A1 from N1 underestimates the population size, as not all adults present at T1 are present at T2. PIT-tag data in the subsequent 4 files are then used to determine PA1,2 - the proportion of adults present at T1 no longer present at T2, for each breeding season (2021/22 & 2022/23) when ultrasounds were performed. This is used to 'correct' the estimated number of adults present in N1, at T2 (A2), allowing for J1 (the number of juveniles emerging that season) to be estimated as N1 - A2.
The peak population size at T1 and T2 occurs on a single day, but PIT-tag data from the 7-day period surrounding this day are used to calculate PA1,2. These data, of PIT detections for 7 days around T1/T2 (where T1/T2 is the median) are provided in individual dataframes, as the full dataframe of PIT detections is too large to attach. The script used to prepare these dataframes from raw detection data is in the notes in script_Repro.R.
Definitions of terms used in script_Repro.R and the following RDS files (Table 2 in Bail et al. 2026):
T1
The week in December (each year) in which occupancy of adults and subadults peaks at the maternity roost.
A1
The ‘peak adult population size’, an estimate derived from flyout/flyin counts representing the number of adult and subadult bats estimated to be at the maternity roost at T1.
T2
The week in February (each year) adults and newly volant juveniles peak in population size, as the majority of young emerge with adults.
N1
The ‘peak adult + juvenile’ population size, a population estimate at T2 which reflects the number of emerging/returning adults, and newly volant juveniles of the year.
PA1,2
The proportion of adults present at T1 which are still present at T2.
A2
The estimated number of adults present at T2, composing part of the estimate N1.
J1
The estimated number of juveniles present at T2, composing part of the estimate N1.
Variables included in the 4 RDS files and used in the R script, defined:
Age: The ageClass of the tagged bat being detected in the row, where A = Adult. Other age classes are removed from the dataframe in the R script and are not relevant.
Tag: The unique ID associated with the PIT-tag in the individual. Used to distinguish individuals.
The other variables included in the RDS files are not relevant to analyses, but are defined below
- raw_date and raw_time are the times recorded on the reader's clock, converted to a 'Date' object in the Date column. GMT converts these to GMT time zone, and finalDateTime converts these back from GMT to Adelaide/Australia time (with daylight savings). batDay represents a 'day' starting and ending at midday, not midnight (bats are nocturnal).
- Cave signifies the cave the reader which recorded tag data is in, with 'BC' the cave's identifier
- Cohort indicates the age-sex cohort of the tagged individual as 'Age.Sex' (e.g. A.F = adult female)
- Other variables are self explanatory (e.g. year means year that the datum occured in)
File: T021
Contains tag data from the PIT-tag reader at this site for the 7 day period around T1 (time of peak adult population size), when A0 (peak adult population size specified in script Script_Repro.R) occurred in the 2021/22 breeding season.
File: T022
Contains tag data from the PIT-tag reader at this site for the 7 day period around T1 (time of peak adult population size), when A0 (peak adult population size specified in script Script_Repro.R) occurred in the 2022/23 breeding season.
File: T121
Contains tag data from the PIT-tag reader at this site for the 7 day period around T1 (time of peak adult and Juvenile population size), when N1 (peak adult and Juvenile population size specified in script Script_Repro.R) occurred in the 2021/22 breeding season.
File: T122
Contains tag data from the PIT-tag reader at this site for the 7 day period around T1 (time of peak adult and Juvenile population size), when N1 (peak adult and Juvenile population size specified in script Script_Repro.R) occurred in the 2022/23 breeding season.
Code/software
R version 4.5.0 and Rstudio, with the packages specified in Script_Repro.R. Order, notes, etc are all plainly stated in script. Place data in same file as scripts and set the working directory.
Access information
Other publicly accessible locations of the data:
Estimation of pregnancy rates
To estimate and compare pregnancy rates in the 2021 and 2022 breeding seasons, we used a binomial regression model with ultrasound-determined pregnancy status (pregnant/non-pregnant) as the response variable and year as a factor variable. The model was fitted with R version 4.5.0 (R Core Team, 2025) using the ‘mgcv’ package (Wood, 2011).
Predicting pregnancy status from morphometrics
To explore the feasibility of using the body condition index (BCI) of SBWB females to predict their pregnancy status, we used pregnancy results from ultrasonography as a gold standard approach, and developed separate generalised additive models for two different periods using R package mgcv (Wood, 2011). The dates young were first observed each year using the infrared cameras (Table 1) were used to classify sampling dates into two periods - ‘Early’ (≥40 days until parturition) and ‘Late’ (<39 days until parturition). Pregnancy status (from ultrasonography) was used as the response variable and BCI as the explanatory variable in each model.
Next, to assess the predictive accuracy of each model, out-of-sample validation was performed. For each period, 100 random samples of a training dataframe (80% of the data) and a testing dataframe (20% of the data) were generated. Training data were used to fit the models and predict expected values of the test dataset, which were then evaluated against the gold-standard results. To achieve this comparison, we first converted the model’s continuous probabilities to binary presence-absence data, by optimising a threshold probability for each model calculated using the ’PresenceAbsence’ package (Freeman & Moisen, 2008). For each period, the threshold corresponding to the maximum True Skill Statistic was selected. Having generated binary pregnancy predictions in this manner, we calculated the sensitivity (ability to diagnose pregnancy), specificity (ability to diagnose absence of pregnancy) and kappa values (agreement % accounting for chance) of the out-of-sample predictions for each period.
Nightly population estimates
Population size was estimated nightly at Bat Cave by processing infra-red footage of bats emerging from and returning to Bat Cave each night with a bespoke MATLAB based software, N2 (Bail et al., 2025). A ‘peak adult population’ estimate (A1), which includes subadults, was derived in December (T1), before newborn pups become volant. A ‘peak adult and weaning juvenile population’ estimate (N1) was derived in February (T2), when the majority of weaning juveniles were emerging from the roost along with adults and subadults (Table 2). As some adults present at T1 may have already departed before juveniles start flying at T2, the number of adults present at T2 will be underestimated at A1, To correct for this, and calculate A2 (the adult population size at T2),~~ we used data from a long-term capture-mark-resight study based on Passive Integrated Transponder (PIT) tagging of the Bat Cave SBWB population (van Harten et al., 2019; van Harten, 2020; Bail et al., 2025). During the period 2016-2023, 3,462 PIT-tagged individuals were tagged and subsequently detected within the maternity roost. In the 2021/22 and 2022/23 breeding seasons, PIT-tag data were used to estimate the proportion of PIT-tagged adults present at Bat Cave in December (T1) that were still present during February (T2) (PA1,2) (Table 1). This provided A2, the estimated number of adults present at T2.
To estimate the number of weaned young present (J1) during February counts (T2), the adult population size in February (A2) was estimated (A2 = A1* PA1,2) (Table 1). This value was then subtracted from the peak adult + juvenile population size (J1 = N1 – A2). These calculations and values (Table 1) were estimated separately for each breeding season.
