Learn R Programming

disco (version 0.6)

disco.score: Calculate concordance score for differentially expressed genes in two data sets

Description

For each pair of matched (orthologous) genes from an object of class mtchedOrtholog calculates the concordance / discordance score. The rationale is to formulate a metric allowing to compare heterologous data sets, e.g. data sets from different sources, technical platforms or even organisms.

Usage

disco.score(x)

Arguments

x

object of class matchedOrtholog

Value

A numerical vector of the disco scores

Details

$$\textrm{disco.score} := |logFC_1|\cdot|logFC_2|\cdot(|log_{10}(p_1)| + |log_{10}(p_2)|) \cdot \textrm{sign}(logFC_1) \cdot \textrm{sign}(logFC_2)$$

Where

\(logFC_1\)

log fold change of the expression change of the gene from the first data set

\(logFC_2\)

log fold change of the expression change of the gene from the second data set

\(p1\)

differential regulation p-value for the gene from the first data set

\(p2\)

differential regulation p-value for the gene from the second data set

Examples

Run this code
# NOT RUN {
data(orthologs)
orthologs$disco.score <- disco.score(orthologs)
# }

Run the code above in your browser using DataLab