Case studies in ecological genetics