Learn R Programming

STRINGdb (version 1.12.0)

add_diff_exp_color: 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

"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