mapEnrichmentToColors: Map enrichment values to colors...

Description Usage Arguments Details Value

View source: R/plot-colour.R

Description

Map enrichment values to colors

Usage

1
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

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.

Value

the p values color-coded by convertPvalueToColorIndex() function


ddgraph documentation built on May 31, 2017, 11:51 a.m.

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