Learn R Programming

ddgraph (version 1.16.0)

mapEnrichmentToColors: Map enrichment values to colors...

Description

Map enrichment values to colors

Usage

mapEnrichmentToColors(obj, palette, class.col, scale="auto")

Arguments

obj
an object of type DDGraph
palette
the color palette to use (by default Orange-Red)
class.col
the color to use for class labels, if applicable (by default light green)
scale
by how much to scale the -log10(p.value) when color coding: either a number of "auto" for automatic

Value

Details

The enrichment of every variable is calculated during construction of DDGraph objects (in ncpc()). Use this information to color code the node in the graph. By default the Orange-Red is used and shown the strength of enrichment and depletion. No difference is made for enriched/depleted variables.