RE: Transform to Relative Expression Levels

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/rel_exp.R

Description

This function computes the relative expression profiles of any given gene expression set. The relative expression profile is being computed as follows:

f_s = ( e_s - e_min ) / ( e_max - e_min )

where e_min and e_max denote the minimum/maximum mean expression level over the developmental stages s. This linear transformation corresponds to a shift by e_min and a subsequent shrinkage by e_max - e_min. As a result, the relative expression level f_s of developmental stage s with minimum e_s is 0, the relative expression level f_s of the developmental stage s with maximum e_s is 1, and the relative expression levels f_s of all other stages s range between 0 and 1, accordingly.

Usage

1
RE(ExpressionMatrix)

Arguments

ExpressionMatrix

a numeric matrix representing a gene expression matrix for which the relative expression profile shall be computed.

Value

a vector containing the relative expression profile of the correspnding data matrix.

Author(s)

Hajk-Georg Drost

References

Domazet-Loso T and Tautz D. (2010). A phylogenetically based transcriptome age index mirrors ontogenetic divergence patterns. Nature (468): 815-818.

Quint M et al. (2012). A transcriptomic hourglass in plant embryogenesis. Nature (490): 98-101.

See Also

REMatrix, PlotRE

Examples

1
2
3
4
5
# read standard phylotranscriptomics data
data(PhyloExpressionSetExample)

# relative expression profile of PS1 genes
RE(PhyloExpressionSetExample[ which(PhyloExpressionSetExample[ , 1] == 1), 3:9 ])

myTAI documentation built on May 19, 2017, 10:16 a.m.

Search within the myTAI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.