disco_color_scale: Map disco scores to colors

View source: R/plot.R

disco_color_scaleR Documentation

Map disco scores to colors

Description

Map disco scores to colors

Usage

disco_color_scale(x, lower = -100, upper = 100, int = 255, alpha = "66")

Arguments

x

disco score

lower, upper

lower and upper boundaries of the score

int

how many colors in the palette

alpha

transparency (string with two hexadecimal digits)

Value

character vector of colors corresponding to x


bihealth/bioshmods documentation built on July 1, 2023, 4:32 a.m.