View source: R/heatmap-wrappers.R
matchColCond | R Documentation |
Allows to display the correct colour annotation
matchColCond(Names, cond, palette)
Names |
vector of character strings. name of the columns |
cond |
vector of character strings. Name of the tissues/conditions to map the columns |
palette |
named vector palette. (names are the same as condition) |
a properly formatted vector of colours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.