powered by
This function sets up, either using default or user-specified options, the color-coding scheme used to plot sequences.
define_palette(inpalette, uniques)
Either a user-specified named-array of colors or flag for default options (dna, rna, protein, random, ...)
Unique characters found in alignment. Used to create the random color scheme.
Color palette named-array.
# NOT RUN { palette <- define_palette("DNA", c("A", "G", "T")) palette <- define_palette("protein") # }
Run the code above in your browser using DataLab