Ccomputes a p-value for a gene set.

1 | ```
significance(ES, ESnull, doplot = FALSE)
``` |

`ES` |
Observed enrichment score. |

`ESnull` |
Null distribution. |

`doplot` |
If |

Function that computes a p-value for a gene set given an enrichment score and a null distribution. Calculations are done separately for positive and negative enrichment scores. The function also returns normalised observed enrichment score and normalised null distribution for the gene set. In addition, a histogram over the normalised null distribution can be plotted.

`p.value ` |
p-value for the gene set. |

`NES ` |
Normalised observed enrichment score. |

`NESnull ` |
Normalised estimated null distribution. |

Guro D\orum

1 2 3 4 5 | ```
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
``` |

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

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