getPopColors allows the user to display individuals of the same pre-defined subpopulation with the same color when using the option
"scores" in pcadapt.
Usage
getPopColors(pop)
Arguments
pop
a list of integers or strings specifying which subpopulation the individuals belong to.