Learn R Programming

ddgraph (version 1.16.0)

mapEnrichmentToColorsDual: Map enrichment values into two different palettes for enriched/depleted variables...

Description

Map enrichment values into two different palettes for enriched/depleted variables

Usage

mapEnrichmentToColorsDual(obj, palette.pos, palette.neg, class.col, scale="auto")

Arguments

obj
an object of type DDGraph
palette.pos
the palette to use for enrichment (by default Orange-Red)
palette.neg
the palette to use for depletion (by default Purple-Blue)
class.col
the colour to use for class labels, if applicable (by default light green)
scale
by how much to scale the -log10(p.value) when color coding

Value