The following links to the ugsweets R package used in Andersen et al., for analysis of epidemic networks and seed networks:
This code is from the following project, with corresponding paper currently accepted pending revision in the journal Phytopathology. If you find this code useful in your research, please cite this paper.
Andersen, K. F., C. E. Buddenhagen, P. Rachkara, R. Gibson, S. Kalule, D. Phillips, and K. A. Garrett. 2018. Modeling epidemics in seed systems to guide management strategies: The case of sweetpotato in Northern Uganda. bioRxiv: https://doi.org/10.1101/107359.