rgbDistCols: Obtain a colour palette for a matrix using multi-dimensional...

Description Usage Arguments

View source: R/privateFunctions.R

Description

Makes a colour for each row of the data by embedding it in 4 dimensions, "r,g,b,alpha"

Usage

1
2
rgbDistCols(mydata, colorder = c(1, 2, 3, 4), colmax = 0.8,
  alphamin = 0.5)

Arguments

mydata

data for which colours are required; each row is an observation

colorder

Mapping of MDS directions to RGBalpha channels;allows relabelling of colour directions and changing polarity (if -ve)

colmax

the maximum a colour can be (for preventing white)

alphamin

the minimum the alpha can be (for preventing colours from being too faded)


danjlawson/badMIXTURE documentation built on Sept. 27, 2019, 9:11 p.m.