Skip to content

Commit 6e1602d

Browse files
Merge pull request #38 from juliangehring/dev
Merge v0.2.0 changes into master
2 parents 0443613 + 750e640 commit 6e1602d

22 files changed

+3297
-3847
lines changed

.codecov.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
codecov:
2+
notify:
3+
require_ci_to_pass: true
4+
comment: off
5+
coverage:
6+
precision: 2
7+
range:
8+
- 70.0
9+
- 100.0
10+
round: down
11+
status:
12+
changes: false
13+
patch: true
14+
project: true
15+
parsers:
16+
gcov:
17+
branch_detection:
18+
conditional: true
19+
loop: true
20+
macro: false
21+
method: false
22+
javascript:
23+
enable_partials: false

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
language: julia
22
os:
33
- linux
4-
- osx
54
julia:
65
- 0.5
6+
notifications:
7+
email:
8+
on_success: never
9+
on_failure: change
710
script:
811
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
912
- julia --check-bounds=yes -e 'Pkg.clone(pwd()); Pkg.build("MultipleTesting"); Pkg.test("MultipleTesting"; coverage=true)'

NEWS.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,43 @@
11
# MultipleTesting.jl News and Changes
22

3+
## Version 0.2.0
4+
5+
### New Features
6+
7+
- Combination of p-values through the `combine` interface:
8+
* Fisher
9+
* Stouffer
10+
* Logit
11+
* Wilkinson
12+
* Simes
13+
* Tippett
14+
* Minimum of adjusted p-values
15+
- Analysis notebook for p-value combinations
16+
- `PValues` type: Representation of vectors with p-values
17+
- Adjustments of p-values support specifying the total number of tests
18+
- Barber-Candès p-value adjustment
19+
20+
21+
### Changes
22+
23+
- Optimised Benjamini-Liu p-value adjustment and test cases
24+
- Estimator types are now immutables
25+
- Harmonised type names
26+
- Restructed readme
27+
- Simplified method signatures
28+
- Various performance improvements
29+
30+
31+
### Removed
32+
33+
- Export of lower-level functions for p-value adjustment
34+
35+
36+
### Support
37+
38+
- Requires julia 0.5
39+
40+
341
## Version 0.1.0
442

543
### New Features

README.md

Lines changed: 62 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@ The `MultipleTesting` package offers common algorithms for p-value adjustment an
55
![xkcd p-value guide](pvalues.png)
66

77

8-
## Package Status
9-
10-
[![Package Status](http://pkg.julialang.org/badges/MultipleTesting_0.5.svg)](http://pkg.julialang.org/?pkg=MultipleTesting)
11-
[![Linux/Mac Build Status](https://travis-ci.org/juliangehring/MultipleTesting.jl.svg?branch=master)](https://travis-ci.org/juliangehring/MultipleTesting.jl)
12-
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/1ld0ppptisirryt1/branch/master?svg=true)](https://ci.appveyor.com/project/juliangehring/multipletesting-jl/branch/master)
13-
[![Coverage Status](https://codecov.io/gh/juliangehring/MultipleTesting.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/juliangehring/MultipleTesting.jl)
14-
15-
168
## Features
179

1810
### Adjustment of p-values
@@ -27,6 +19,7 @@ The `MultipleTesting` package offers common algorithms for p-value adjustment an
2719
* Hommel
2820
* Sidak
2921
* Forward Stop
22+
* Barber-Candès
3023

3124
```julia
3225
adjust(pvals, Bonferroni())
@@ -40,6 +33,13 @@ adjust(pvals, Holm())
4033
adjust(pvals, Hommel())
4134
adjust(pvals, Sidak())
4235
adjust(pvals, ForwardStop())
36+
adjust(pvals, BarberCandes())
37+
```
38+
39+
The adjustment can also be performed on the `k` smallest out of `n` p-values:
40+
41+
```julia
42+
adjust(pvals, n, PValueAdjustmentMethod)
4343
```
4444

4545

@@ -68,3 +68,57 @@ estimate_pi0(pvals, BUM())
6868
estimate_pi0(pvals, FlatGrenander())
6969
estimate_pi0(pvals, Oracle(0.9))
7070
```
71+
72+
73+
### Combination of p-values
74+
75+
* Fisher
76+
* Stouffer, optionally with weights
77+
* Logit
78+
* Tippett
79+
* Simes
80+
* Wilkinson
81+
* Minimum of adjusted p-values
82+
83+
```julia
84+
combine(pvals, FisherCombination())
85+
combine(pvals, StoufferCombination())
86+
combine(pvals, weights, StoufferCombination())
87+
combine(pvals, LogitCombination())
88+
combine(pvals, TippettCombination())
89+
combine(pvals, SimesCombination())
90+
combine(pvals, WilkinsonCombination(rank))
91+
combine(pvals, MinimumCombination(PValueAdjustment()))
92+
```
93+
94+
95+
## Installation
96+
97+
The `MultipleTesting` package is part of the Julia ecosphere and the latest
98+
release version can be installed with
99+
100+
```julia
101+
Pkg.add("MultipleTesting")
102+
```
103+
104+
More details on packages and how to manage them can be found in the
105+
[package section](http://docs.julialang.org/en/stable/manual/packages/#adding-and-removing-packages)
106+
of the Julia documentation.
107+
108+
109+
## Feedback and Contributions
110+
111+
Contributions of any kind are very welcome. Please feel free to open pull
112+
requests or issues with your questions or ideas.
113+
114+
115+
## Package Status
116+
117+
The package is actively developed and uses [semantic versioning](http://semver.org/).
118+
119+
[![DOI](https://zenodo.org/badge/27935122.svg)](https://zenodo.org/badge/latestdoi/27935122)
120+
121+
[![Package Status](http://pkg.julialang.org/badges/MultipleTesting_0.5.svg)](http://pkg.julialang.org/?pkg=MultipleTesting)
122+
[![Linux/Mac Build Status](https://travis-ci.org/juliangehring/MultipleTesting.jl.svg?branch=master)](https://travis-ci.org/juliangehring/MultipleTesting.jl)
123+
[![Windows Build Status](https://ci.appveyor.com/api/projects/status/1ld0ppptisirryt1/branch/master?svg=true)](https://ci.appveyor.com/project/juliangehring/multipletesting-jl/branch/master)
124+
[![Coverage Status](https://codecov.io/gh/juliangehring/MultipleTesting.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/juliangehring/MultipleTesting.jl)

0 commit comments

Comments
 (0)