Learn R Programming

IBDhaploRtools (version 1.8)

make.col.vec: make color vector

Description

utility function to make a vector of colors used for plotting

Usage

make.col.vec(x, colors)

Arguments

x
vector of 0, 1, 2's

colors
vector of "col1", "col2" , "col3"

Value

returns vector of colors