Spatial pattern for resistance to a pathogen. Theoretical approach and empirical approach at the phenotypic and molecular levels