mapEnrichmentToColors: Map enrichment values to colors...

Description Usage Arguments Details Value

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



Search within the ddgraph 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.