.colorByPvalue: Colors based on p-Values
Description
This function helps defining color-gradient based on p-Values.
This fuction requires package RColorBrewer being installed
Usage
.colorByPvalue(
x,
br = NULL,
col = NULL,
asIndex = FALSE,
silent = FALSE,
debug = FALSE,
callFrom = NULL
)
Value
This function retruns a color-gradient based on p-Values
Arguments
- x
(numeric) p-values (main input)
- br
(numeric) custom breaks (used with cut)
- col
custom colors (must be of length(br) -1)
- asIndex
(logical) custom breaks (used with cut)
- silent
(logical) suppress messages
- debug
(logical) supplemental messages for debugging
- callFrom
(character) allow easier tracking of messages produced