view_palette: Display a color palette

View source: R/classicTB.R

view_paletteR Documentation

Display a color palette

Description

Generates a ggplot visualization of a specified package palette.

Usage

view_palette(palette_name = "mycolors")

Arguments

palette_name

The name of the palette to display ("mycolors", "classicTB", or "pathogenomics").

Value

A ggplot object showing the colors of the chosen palette.

Examples

view_palette("mycolors")
view_palette("classicTB")

mycolorsTB documentation built on Aug. 8, 2025, 6:35 p.m.