Docsity

Controlling Errors in Computational Genomics: Multiple Hypothesis Testing, Exams of Biology

Partial preview of the text

Download Controlling Errors in Computational Genomics: Multiple Hypothesis Testing and more Exams Biology in PDF only on Docsity!

Bioe594 Computational Functional GenomicsLecture # 10Multiple testing for the identification of differentiallyexpressed genesYang DaiUIC

Prof. Yang Dai, Bioe594, Computational Functional Genomics

Multiple hypothesis testing †

Suppose we want to find genes that are differentiallyexpressed between different conditions/phenotypes.

We conduct a statistical test for each gene

g=1,…,m

(t-

test, Wilcoxon test, permutation test,…). The nullhypothesis

H

0g

is that the gene

g

is not differentially

expressed.

This yields a test statistics

T

, and its associated p- g

values

p

g.

To simplify the matter, we assume that the null

H

0g

is

rejected for a large values of |

T

| (two-sided g

hypothesis) in single hypothesis testing.

Prof. Yang Dai, Bioe594, Computational Functional Genomics

A standard approach in the test is to pre-specify anacceptable level

for the Type I error rate and seek

tests which minimize the Type II error rate.

When testing a single hypothesis, H

0g

, the probability of

a Type I error (rejecting the null hypothesis when it istrue, is usually controlled at some designated level

This can be achieved by choosing a critical value

c

α

such that and reject

H

0g

when

|T

|g

c

α

α

≤

≥

)

|

|

(|

0 H

c

T

P

g

Prof. Yang Dai, Bioe594, Computational Functional Genomics

Other Type I error rates1.

Family-wise error rate (FWER). The FWER is definedas the probability of at least one Type I error (falsepositive):

False discovery rate (FDR). The FDR ( Benjamini &Hochberg 1995) is the expected proportion of Type Ierrors among the rejected hypothesis:

(^

V

P

FWER

r

if,

if,

whereQ

R^ R

R

V

Q

E

FDR

Prof. Yang Dai, Bioe594, Computational Functional Genomics

A standard approach to the multiple testing consists oftwo steps: „

(1) compute a test statistic Tg for each gene g

„

(2) apply a multiple testing procedure to determine whichhypotheses to reject while controlling a suitably determinedtype I error rate.

The test statistic Tg can be a t-statistic or a Wilcoxonrank sum.

Prof. Yang Dai, Bioe594, Computational Functional Genomics

p-values †

Unadjusted p-values „

A p-value can be considered as the level of the test at whichthe hypothesis

H

0g

would be rejected. The smaller

p

g^

value,

the stronger the evidence against the null hypothesis.

„

Rejecting

H

0g

when

p

g^

≤ α

provides control of the Type I error

rate at level

α

„

p g^ can be considered as the probability of observing a test statistic as extreme or more extreme in the direction ofrejection as the observed one, i.e.,

p

g^ =P(|T

|g ≥

t^ g

|H

0g

).

Adjusted p-values „

A multiple testing procedure may be described in terms ofadjusted p-values.

„

Given any test procedure, the adjusted p-value thatcorresponds to the test of a single hypothesis can be definedas the level of the entire test procedure at which

H

0g

would be

rejected, given the values of all test statistics involved.

Prof. Yang Dai, Bioe594, Computational Functional Genomics

Example †

Golub data, 27 ALL vs. 11 AML samples, 3051 genes.

Prof. Yang Dai, Bioe594, Computational Functional Genomics

FWER: Improvements to Bonferroni (Westfall/Young 1993) †

The minP adjusted p-values (Westfall and Young):

p’

g^

= P(min

k=1,...,m

p k^

≤ p

g^

|H

). 0

†

Choosing all genes with

p’

g^

≤ α

p

g

c

α

controls the FWER

at level

α

:

FWER =

P(V> 0) =P

(at least one

p’

g

| H

) 0

=

P(min p’

g

|H

) 0

=P(min p

g

c

α

|H

) = 0

.

†

But how to obtain the probabilities

p’

g^

? -- Estimation of minP-

adjusted p-values through resampling: „

For

b = 1,... , B

, (randomly) permute the sample labels.

„

For each gene, compute the unadjusted p-values

p

gb

based on the

permuted sample labels.

„

Estimate

p’

g^

= P(min

k=1,...,m

P

k^

≤^

p^ g

|H

) by 0

#{b : min

g^

p gb

≤ p

g^

}/B.

Prof. Yang Dai, Bioe594, Computational Functional Genomics

FWER control †

The Bonferroni and Westfall/Young methods give strong control of the FWERunder mild assumptions.

†

Advantage: The method takes the dependence structure between genes intoaccount, which gives in many cases higher power.

†

Computationally intensive if the unadjusted p-values arise from permutation tests.

†

Similar method (maxT) under the assumption that the statistics T

are equallyg

distributed under the null hypothesis - replace p

g^ by |T

| and min by max.g^

Computationally less intensive.

†

Step-down procedure (Holm): Enhancement for Bonferroni and Westfall/Young:same adjustment for the smallest p-value, successively smaller adjustment forlarger ones. Idea: Compare the kth-smallest p-value

to the kth-smallest under

the

complete null hypothesis.

†

Step-up procedure (Hochberg): a step-up analog of Holm;s step-down procedure.

†

All methods are implemented in the Bioconductor package multtest, with a fastalgorithm for the minP method.

Prof. Yang Dai, Bioe594, Computational Functional Genomics

Control of FDR – Benjamini and Hochberg (1995) †^

Let p

r

≤ p r

≤ …

≤p

rm

denote the observed ordered unadjusted p-

values. For control of the FDR at level

α

define

j*=max{j: p

≤rj^

(j/m)

α}

and reject H

rj^

for

j=1,…,j*.

If no such j* exists, reject no hypothesis.

†

Corresponding adjusted p-values are

†

In the microarray setting, where thousands of tests are performedsimultaneously and a fairly large number of genes are expected tobe differentially expressed, FDR controlling procedures present apromising alternative to FWER approaches.

†

One may be willing to bear a few false positives as long as theirnumber is small in comparison to the number of rejectedhypotheses.

{min(
min

,..,

rk

m j k

rj^

p
m k
p

=

Prof. Yang Dai, Bioe594, Computational Functional Genomics

More on multtest package †

mt.maxT

and

mt.minP

functions compute permutation adjusted p-values for the maxT and

minP multiple testing procedures.

†

mt.reject

function returns the identity and number of rejected hypotheses for several multiple

testing procedures and different nomial Type I error rates.

†

resT<- mt.maxT(golub, golub.cl, B=1000)

†

ord<-order(resT$index)

†

rawp <- resT$rawp[ord]

†

maxT<-resT$adjp[ord]

†

teststat<- resT$teststat[ord]

†

mt.reject(cbind(rawp,maxT),seq(0,1,0.1))$r

†

0

0

0

†

0.1 1331 125

†

0.2 1667 158

†

0.3 1901 186

†

0.4 2099 213

†

0.5 2273 250

†

0.6 2449 277

†

0.7 2608 315

†

0.8 2755 358

†

0.9 2894 409

†

1

3051 3051

†

Prof. Yang Dai, Bioe594, Computational Functional Genomics †

which <- mt.reject(cbind(rawp,maxT),0.01)$which[,2]

†

golub.gnames[which,2]

†

[1] "ADM Adrenomedullin"

†

[2] "CYSTATIN A"

†

[3] "Macmarcks"

†

[4] "SPTAN1 Spectrin, alpha, non-erythrocytic 1 (alpha-fodrin)"

†

[5] "IEF SSP 9502 mRNA"

†

[6] "INDUCED MYELOID LEUKEMIA CELL DIFFERENTIATION PROTEIN MCL1"

†

[7] "RB1 Retinoblastoma 1 (including osteosarcoma)"

†

[8] "Inducible protein mRNA"

†

[9] "LYN V-yes-1 Yamaguchi sarcoma viral related oncogene homolog"

†

[10] "CD33 CD33 antigen (differentiation antigen)"

†

[11] "CST3 Cystatin C (amyloid angiopathy and cerebral hemorrhage)"

†

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

†

[34] "APLP2 Amyloid beta (A4) precursor-like protein 2"

†

[35] "TCRA T cell receptor alpha-chain"

†

[36] "Interleukin 8 (IL8) gene"

†

[37] "INTERLEUKIN-8 PRECURSOR"

†

[38] "MYL1 Myosin light chain (alkali)"

†

[39] "DHPS Deoxyhypusine synthase"

†

[40] "MEF2A gene (myocyte-specific enhancer factor 2A, C9 form) extracted from Human myocyte- specificenhancer factor 2A (MEF2A) gene, first coding"

†

[41] "X-LINKED HELICASE II"

†

[42] "LYZ Lysozyme"

†

[43] "TCF3 Transcription factor 3 (E2A immunoglobulin enhancer binding factors E12/E47)"

†

[44] "Transcriptional activator hSNF2b"

†