Research has implications for urban gardening and food production.