Skip to contents

Returns a data frame with the standard artemis colors.

Usage

artemisColors()

Value

A data.frame with the following columns: n, names, colors, r, g, and b. The 3 first columns give the Artemis color number, its name, and its equivalent in R. The final 3 columns give the r, g, and b values.

References

Artemis website: https://www.sanger.ac.uk/tool/artemis/

Author

Lionel Guy

Examples

artCol <- artemisColors()
plot(rep(1, nrow(artCol)), artCol$n, xlim = c(1, 2), type = "n")
text(rep(1, nrow(artCol)), artCol$n, labels = artCol$n, col = artCol$colors)
text(rep(1, nrow(artCol)), artCol$n, labels = artCol$names,
     col = artCol$colors, pos = 4, offset = 1)