colmat2lutfile: Write color matrix to LUT file

Description Usage Arguments Value Author(s) Examples

View source: R/clusterluts.R

Description

Companion function to writelut that sets up a correct lookup table.

Usage

1
2
3
4
5
6
7
8
9
colmat2lutfile(
  colmat,
  file,
  fill = TRUE,
  length = 256,
  bw = TRUE,
  truncate = FALSE,
  ...
)

Arguments

colmat

color matrix

file

file to write to

fill

whether to fill

length

desired length (only when fill is TRUE)

bw

add 'black' as first and 'white' as last entry?

truncate

truncate if too long

...

ignored

Value

color matrix that was written (possibly filled)

Author(s)

Benno Pütz puetz@psych.mpg.de

Examples

1

bennop/clusterLUTs documentation built on Nov. 21, 2020, 9:07 a.m.