Description Usage Arguments Value Predefined Colors
A group of color related functions and variables.
darken,lighten: darken or lighten colors. Credit to https://gist.github.com/Jfortin1
add.alpha: add alpha to color vector. Credit to https://magesblog.com/post/2013-04-30-how-to-change-alpha-value-of-colours-in/
assignCHMcolor: produce a color list for complexheatmap from predefined base colors.
1 2 3 4 5 6 7 |
color |
a character or vector of color |
factor |
a numeric. To what extend you want to change the color |
alpha |
a numeric. The alpha level. |
df |
dataframe to be plotted |
colist |
list of named color vector. By default is comp_hm_colist_full |
columns |
if only selected columns to be used for generating the color, supply a vector of column names here. |
darken,lighten: a character or vector of the changed color
assignCHMcolor: a list of vectors (discrete colors) or functions (for continuous colors)
These variables will be loaded to the global environment and might overwrite existing colors.
colpal: vector of 6 for groups
colpal2: c("deepskyblue3","ivory","coral") #for heatmap
comp_hm_colist_full: for complex heatmap related color
colonco: for mutations on oncoprint plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.