This function generates a visual preview of a DOYPAColors palette with multiple plots. It includes a direct palette preview, a scatter plot, a bar plot, and a heatmap, each using the specified palette.
Usage
preview_pal(palette, seed = NULL)
Value
A `ggplot` object with multiple plots arranged in a grid, showcasing the color palette in different visualizations.
Arguments
palette
A character string specifying the name of the palette to use.
seed
An optional seed for reproducibility of random numbers.