Colorpalette: Create a color palette to be used in the plots

Description Usage Arguments Value Author(s) Examples

Description

In order to facilitate the visualization of the influence of the different methods on the clustering of the compounds, colors can be used. The function ColorPalette is able to pick out as many colors as there are clusters. This is done with the help of the ColorRampPalette function of the grDevices package

Usage

1
ColorPalette(colors = c("red", "green"), ncols = 5)

Arguments

colors

A vector containing the colors of choice

ncols

The number of colors to be specified. If higher than the number of colors, it specifies colors in the region between the given colors.

Value

A vector containing the hex codes of the chosen colors.

Author(s)

Marijke Van Moerbeke

Examples

1
2
Colors1<-ColorPalette(c("cadetblue2","chocolate","firebrick2",
"darkgoldenrod2", "darkgreen","blue2","darkorchid3","deeppink2"), ncols=8)

IntClust documentation built on May 2, 2019, 5:23 p.m.