show.hue.range: Show hue range colors

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/clusterluts.R

Description

Somehere between show.colmat and hue.range.lines, shows the unordered colors of one in a single row of rectangles.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
show.hue.range(
  hr,
  extractfun = mean,
  spacing = 0.1,
  y = NULL,
  width = NULL,
  v.scale = 1,
  show.idx = FALSE,
  ...,
  wait = FALSE,
  width.x = width,
  width.y = width
)

Arguments

hr

hue range or list thereof

extractfun

function to assign hue to range (mean)

spacing

relative spacing between hue lines

y

position along y-axis (mainly for single hue range)

width

effective width of rectangles along axes

v.scale

relative vertical scaling to adjust rectangles' height

show.idx

add index (if boolean) or specified values (if char, numeric)

...

ignored

wait

for internal use, should not be set by caller

width.x

width along x-axis

width.y

width along y-axis

Details

When given a list of hue ranges, those lines are stacked on top of one another.

Value

none

Author(s)

Benno Pütz puetz@psych.mpg.de

See Also

hue.range.lines or tree.ranges.plot for ordered display.

Examples

1
show.hue.range(matrix(0:5/6, nr = 2))

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