Niche-based approach to explore the impacts of environmental disturbances on biodiversity.