Learn R Programming

Mergeomics (version 1.0.0)

ssea.analyze.statistic: MSEA statistics for enrichment score

Description

ssea.analyze.statistic estimates the enrichment score based on observed and expected ones.

Usage

ssea.analyze.statistic(o, e)

Arguments

o
observed enrichment score
e
expected enrichment score

Value

score
estimated enrichment score based on observed and expected scores

References

Shu L, Zhao Y, Kurt Z, Byars S, Tukiainen T, Kettunen J, Ripatti S, Zhang B, Inouye M, Makinen VP, Yang X. Mergeomics: integration of diverse genomics resources to identify pathogenic perturbations to biological systems. bioRxiv doi: http://dx.doi.org/10.1101/036012

See Also

ssea.analyze

Examples

Run this code
## O and E the observed and expected counts of positive findings 
## (enrichment scores) at a given cutoff:
set.seed(1)
o <- rnorm(1)
e <- rnorm(1)
## find the final enrichment score from the observed and estimated scores:
z <- ssea.analyze.statistic(o, e)

Run the code above in your browser using DataLab