Added support for multiple populations in adaptationData.plotGroupedSubjects