goodcolors2: Return my favorite set of colors to use for clusters in...

View source: R/DAPC_adegenet.R

goodcolors2R 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.

Description

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.

Usage

goodcolors2(n, plot.palette = FALSE)

Arguments

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.


JeffWeinell/misc.wrappers documentation built on Sept. 20, 2023, 12:42 p.m.