artemisColors: Artemis Colors

Description Usage Value Author(s) References Examples

View source: R/plot_helpers.R

Description

Returns a data frame with the standard artemis colors.

Usage

1

Value

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

Author(s)

Lionel Guy

References

Artemis website: http://www.sanger.ac.uk/resources/software/artemis/

Examples

1
2
3
4
5
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)

genoPlotR documentation built on Sept. 13, 2017, 3:01 p.m.