Network matrices
We compiled the inferred interactions into interaction incidence matrices where each cell value represented the number of observed interactions between each bat-plant taxon pair. We considered one realized interaction when the DNA of a plant taxon was detected in the faeces of one individual bat. We constructed matrices for (1) each forest site in which we pooled data from both seasons during the El Niño year (‘La Selva’ and ‘Santa Rosa’), and (2) for each forest site in which we separated the data collected for dry and wet season during the normal and El Niño (‘wet’ versus ‘dry’ for each site). Each matrix constructed for each forest site during each season and the matrices using data pooled for the whole year in each forest site were used to compare between networks and null models.