Code for simulating stochastic niche models in D'Andrea et al. 2019 PLoS Computational Biology: https://github.com/rafaeldandrea/Generalizing-clusters-code
Code for carrying out k-means algorithm to detect clusters in D'Andrea et al. 2019 PLoS Computuational Biology and D'Andrea et al. 2020 Ecology: https://github.com/rafaeldandrea/Clustering-metric