ZScoresAsColors: 'ZScoresAsColors'

View source: R/tablecolours.R

ZScoresAsColorsR Documentation

ZScoresAsColors

Description

Shades z-scores.

Usage

ZScoresAsColors(
  z,
  light.negative.color = "#FB9080",
  dark.negative.color = "#FA614B",
  light.positive.color = "#80B4F4",
  dark.positive.color = "#3E7DCC",
  non.significant.color = "#888888",
  max.abs = 5,
  alpha = 0.05
)

Arguments

z

A numeric vector containing colors.

light.negative.color

The color, in standard sRGB colorspace, representing the least negative value.

dark.negative.color

The color, in standard sRGB colorspace, representing the most negative value.

light.positive.color

The color, in standard sRGB colorspace, representing the least positive value.

dark.positive.color

The color, in standard sRGB colorspace, representing the most positive value.

non.significant.color

The color used for non-significant values.

max.abs

The (absolute) value beyond which all colors are set to the negative.color or positive.color

alpha

The level of significance, where values not significant at this value are shaded with the non.significant.color.


Displayr/flipFormat documentation built on Aug. 28, 2024, 6:48 p.m.