Description Usage Arguments Value
building colmap depends on iscat status of each column, catstat. catstat is first searched with attributes; if it is not specified, iscatDF is used to calculate it. therefore, the default assumes the user has prepared pheno in a way that categorical vars are either character or factor and cont vars are numeric.
1 | prepcolbar(pheno, colpal = NULL)
|
pheno |
a data frame where columns represent different column bars (in a heatmap) |
colpal |
color pallete, a named list of color vectors. When not specified, autocolpal4DF will be used to generate the default. |
a list with elements mapL (a list of map for color legend) and colmat (color matrix for colbar). input pheno and colpal are attached as attributes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.