This code is provided to calculate interaction preferences based on the study:
Tricky partners: native plants show stronger interaction preferences than their exotic counterparts
Coux, C., Donoso, I., Tylianakis, J.M., García, D., Martínez, D., Dehling, D.M., et al. (2021). Ecology, 102, 1–11.