Map enrichment values to colors...

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.