highlight_TF {TFEA.ChIP} | R Documentation

## Highlight certain transcription factors in a plotly graph.

### Description

Function to highlight certain transcription factors using different colors in a plotly graph.

### Usage

    highlight_TF(table, column, specialTF, markerColors)

### Arguments

`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.

### Value

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.

[Package TFEA.ChIP version 1.6.0 Index]