add_diff_exp_color {STRINGdb} | R Documentation

## add_diff_exp_color

### Description

Take in input a dataframe containing a logFC column that reports the logarithm of the difference in expression level. Add a "color" column to the data frame such that strongly downregulated genes are colored in green and strong upregulated genes are in red. When the down or up-regulation is instead weak the intensity of the color gets weaker as well, accordingly.

### Usage

    ## S4 method for signature 'STRINGdb'
    add_diff_exp_color(screen, logFcColStr="logFC" )

### Arguments

`screen` | Dataframe containing the results of the experiment (e.g. the analyzed results of a microarray or RNAseq experiment)
`logFcColStr` | name of the colum that contains the logFC of the expression

### Value

vector containing the colors

### Author(s)

Andrea Franceschini

[Package STRINGdb version 1.26.0 Index]