Effects of landscape compositional heterogeneity and spatial autocorrelation on environmental niche and dispersal in simulated organisms