Learn R Programming

BAMMtools (version 2.1.12)

transparentColor: Define colors with transparency

Description

Converts a named color and opacity and returns the proper RGB code.

Usage

transparentColor(namedColor, alpha = 0.8)

Value

Returns the transparent color in RGB format.

Arguments

namedColor

A color name.

alpha

A transparency value between 0 and 1, where 0 is fully transparent.

Author

Pascal Title

Details

This function is used internally by plotRateThroughTime.