Learn R Programming

pcadapt (version 2.2)

getPopColors: Subpopulation colorization

Description

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.

Examples

Run this code
## see also ?pcadapt for examples

Run the code above in your browser using DataLab