Neighborhood analysis in tissues