log_colour_scale: Calculate log colour scale

Description Usage Arguments

Description

Instead of taking log of the values and plotting that, log the colour scale instead

Usage

1
2
log_colour_scale(values = vvv3, scale = 0.05, midpoint = "white",
  interpolate = "spline", asymetric = T, print = F)

Arguments

values

numeric vector, could be matrix or vector of values you will plot used to calculate range for asymetrical

scale

use this to rescale the range, to change what part of the log scale you're on

midpoint

colour of central value (0)

interpolate

passed to colorRampPalette

asymetric

logical; should 0 be at the center of offset to account for range of values

print

logical; should colour scale be printed or should vector of hex values be returned


MyersGroup/testisAtlas documentation built on Nov. 29, 2020, 9:21 p.m.