View source: R/DAPC_adegenet.R
goodcolors2 | R Documentation |
Return my favorite set of colors to use for clusters in admixture plots, for a particular value of K.
For each K (2-15), a particular result from the 'goodcolors' function that I like.
goodcolors2(n, plot.palette = FALSE)
n |
Number of colors to include in the output set. Equal to K if using this function for population structure analyses that produce admixture plots or population assignment probabilities. |
plot.palette |
Whether or not to plot the color palette in the plotting window. Default FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.