Early Warning Signals of Ecological Transitions: Methods for Spatial Patterns