Learn R Programming

multifluo (version 1.1)

find.colors: find.colors

Description

Finds different colors for a corresponding to the first character of each value of a vector.

Usage

find.colors(vect, color = NULL)

Arguments

vect

the vector to find colors for.

color

can be a vector of colors (with the same size as the number of groups), if NULL, rainbow scale is chosen

Value

vector of colors related to vect

Examples

Run this code
# NOT RUN {
find.colors(c("V1","V3","R22"))

  
# }

Run the code above in your browser using DataLab