File: add_diff_exp_color.Rd

package info (click to toggle)
r-bioc-stringdb 2.18.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,572 kB
  • sloc: makefile: 5
file content (29 lines) | stat: -rw-r--r-- 871 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
\name{add_diff_exp_color}
\alias{\S4method{add_diff_exp_color}{STRINGdb}}
\title{
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{
\S4method{add_diff_exp_color}{STRINGdb}(screen, logFcColStr="logFC" )
}
\arguments{
  \item{screen}{
Dataframe containing the results of the experiment (e.g. the analyzed results of a microarray or RNAseq experiment)
}
  \item{logFcColStr}{
name of the colum that contains the logFC of the expression 
}
}
\value{
vector containing the colors
}
\author{
Andrea Franceschini
}