
Create sample palette
create_discrete_palette.RdThis function creates a sample palette of Pixelgen accent colors based on the number of unique samples or conditions provided. It selects colors from different hues and levels to ensure good visual distinction between conditions.