Skip to contents

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

Usage

create_discrete_palette(conditions)

Arguments

conditions

Character vector of conditions.

Value

Character vectors of color hex codes.