transparentColor: Define colors with transparency

Description Usage Arguments Details Value Author(s)

Description

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

Usage

1
transparentColor(namedColor, alpha = 0.8)

Arguments

namedColor

A color name.

alpha

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

Details

This function is used internally by plotRateThroughTime.

Value

Returns the transparent color in RGB format.

Author(s)

Pascal Title



Search within the BAMMtools package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.