Description Usage Arguments Value
View source: R/All-functions.R
Function to highlight certain transcription factors using different colors in a plotly graph.
1 | highlight_TF(table, column, specialTF, markerColors)
|
table |
Enrichment matrix/data.frame. |
column |
Column # that stores the TF name in the matrix/df. |
specialTF |
Named vector containing TF names as they appear in the enrichment matrix/df and nicknames for their color group. Example: specialTF<-c('HIF1A','EPAS1','ARNT','SIN3A') names(specialTF)<-c('HIF','HIF','HIF','SIN3A') |
markerColors |
Vector specifying the shade for every color group. |
List of two objects: A vector to attach to the enrichment matrix/df pointing out the color group of every row. A named vector connecting each color group to the chosen color.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.