mrna expression experiment measurement unit array probe gene sequence n n 1 1 1 n clinical sample...

38
mRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n n n 1 1 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n Project Platform Normalizati on 1 n 1 n 1 n Gene Ontology Gene Cluster n n n n Explicit Definition of Concept Hierarchies

Upload: griffin-garrison

Post on 05-Jan-2016

225 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

mRNA Expression

Experiment Measurement Unit

Array Probe

Gene Sequence

n n

n n

1 1

1 1

1

n

Clinical Sample

Anatomy Ontology

n

1

Patient

1

n

Disease

n

n

Project Platform

Normalization

1

n

1

n

1

n

Gene Ontology Gene Cluster

n

n

n

n

Explicit Definition of Concept Hierarchies

Page 2: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Sample Classification Hierarchy

All_diseases

(Patients)

(Clinical Samples)

Normal

Brain Blood Colon Breast . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . .

Tumor

CNS_tumor LeukemiaAdeno-carcinoma

. . .

Glio-blastoma

. . . ALL AML Colontumor

Breasttumor

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . .

Page 3: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Aggregate Functions

• Simple: sum, average, max, min, etc.

• Statistical: variance, standard deviation, t-statistic, F-statistic, etc.

• User-defined: e.g., for aggregation of Affymetrix gene expression data on the Measurement Unit dimension, we may define the following function:

Exp = Val

0

if PA = ‘P’ or ‘M’,

if PA = ‘A’.

Here, Exp is summarized gene expression; Val and PA are the numeric value and PA call given by the Affymetrix platform, respectively.

Page 4: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Conventional OLAP Operations

• Roll-up: aggregation on a data cube, either by climbing up a concept hierarchy for a dimension or by dimension reduction.

• Drill-down: the reverse of roll-up, navigation from less detailed data to more detailed data.

• Slice: selection on one dimension of the given data cube, resulting in a subcube.

• Dice: defining a subcube by performing a selection on two or more dimensions.

• Pivot: a visualization operation that rotates the data axes to provide an alternative presentation.

Page 5: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

t Test

• The t-Test assesses whether the means of two groups are statistically different from each other.

• Given two groups of samples and

:

},,{: 211

_

11 sxnX

},,{: 222

_

22 sxnX

1

)(var:

:

:

1

2

2

N

xxsamplestheofiancetheS

samplestheofmeantheX

samplesofnumberN

N

ii

Degrees of freedom.Due to bias of the sample

• Assumption: the differences in the groups follow a normal distribution.

Page 6: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 8-6

If the mean of these three values is 8.0, then X3 must be 9 (i.e., X3 is not free to vary)

Degrees of Freedom (df)

Here, n = 3, so degrees of freedom = n – 1 = 3 – 1 = 2

(2 values can be any numbers, but the third is not free to vary for a given mean)

Idea: Number of observations that are free to vary after sample mean has been calculated

Example: Suppose the mean of 3 numbers is 8.0

Let X1 = 7

Let X2 = 8

What is X3?

Page 7: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Student t-distribution

• It is family of continuous probability distributions that arises when estimating the mean of a normally distributed population in situations where the sample size is small and population standard deviation is unknown.

Page 8: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

t Test

• Hypothesis: H0(null hypothesis): µ1=µ2

Hα: µ1 µ2

• Choose the level of confidence (significance): α = 0.05 (the amount of uncertainty we are prepared to accept in the study.

• Test Statistics

• The t-value can be positive or negative (positive if the first mean is larger than the second and negative if it is smaller).

• Calculate the p-value corresponding to t-value: look up a table.• The t is a family of distributions

2221

21

_

21

_

// nsns

xxt

Page 9: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 8-9

Student’s t Distribution

t0

t (df = 5)

t (df = 13)t-distributions are bell-shaped and symmetric, but have ‘fatter’ tails than the normal

Standard Normal(t

with df = ∞)

Note: t Z as n increases

Page 10: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 8-10

Selected t distribution values

With comparison to the Z value

Confidence t t t Z Level (10 d.f.) (20 d.f.) (30 d.f.) (∞ d.f.)

0.80 1.372 1.325 1.310 1.28

0.90 1.812 1.725 1.697 1.645

0.95 2.228 2.086 2.042 1.96

0.99 3.169 2.845 2.750 2.58

Note: t Z as n increases

Page 11: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 8-11

Example of t distribution confidence interval

A random sample of n = 25 has X = 50 and S = 8. Form a 95% confidence interval for μ

– d.f. = n – 1 = 24, so

The confidence interval is

2.06390.025t/2 αt

25

8(2.0639)50

n

S/2 αtX

46.698 ≤ μ ≤ 53.302

Page 12: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

The t-curve of 25 degrees of freedom

The t-statistics value

This area is the p-value!

P - Value

• The p-value is the upper-tail (or lower tail) area of the t curve.

• Steps to accept/reject the null hypothesis H0

– Calculate the t-statistics– Look up the table to find the p-value– Given confidence level ,

if p-value is smaller than ,

then reject H0; otherwise,

accept H0

Page 13: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

New OLAP Operation: Compare

• Compare two random variables by computing ratios, differences or t-statistics.

• Example:

Disease 1 Disease 2

10090

1058378

7072817475

Different measurements of gene X

Mean 91.2 74.4Variance 127.7 17.3N 5 5

Question: Is gene X expressed differently between two groups?

Solution:

(1) Compute the mean and variance.

(2) Compute t and p:

t = 3.120 p = 0.013/0.007

Answer: Yes (at 5% significance level)

Page 14: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

tail)-one function, TDIST sExcel' using d(Calculate 013.0

506.5

45

3.17

45

7.127

53.17

57.127

11

:are freedom of degrees the, variancesunequal Assuming

120.3

53.17

57.127

4.742.91

3.1715

)4.7475()4.7470(

1

)(

54.74

7.12715

)2.9178()2.91100(

1

)(

52.91

22

2

2

2

2

2

1

2

1

1

2

2

2

1

1

2

2

1

1

21

22

2

2

1 222

22

22

1

2

1 111

11

2

1

p

n

nVarX

n

nVarX

nVarX

nVarX

df

nVarX

nVarX

XXt

n

XXVarX

nX

n

XXVarX

nX

n

i i

n

i i

Page 15: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Output from Excel

Page 16: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

tail)-one function, TDIST sExcel' using d(Calculate 007.0

82552 freedom, of Degree

120.3

51

51

5.72

4.742.91

11)(

5.722

))(1())(1(

: variance)equal (assuming variancesample Pooled

3.1715

)4.7475()4.7470(

1

)(

54.74

7.12715

)2.9178()2.91100(

1

)(

52.91

21

2112

21

21

221112

22

2

2

1 222

22

22

1

2

1 111

11

2

1

p

nndf

nnVarX

XXt

nn

VarXnVarXnVarX

n

XXVarX

nX

n

XXVarX

nX

n

i i

n

i i

Page 17: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Output from Excel

Page 18: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

New OLAP Operation: ANOVA

• Analysis of variance (ANOVA) tests if there are differences between any pair of variables.

• Example:

Is there a significant difference between the expression of gene X in the various disease conditions?

Disease 1 Disease 2 Disease 3

10090

1058378

7072817475

Different measurements of gene X

9593798590

mean 91.2 74.4 88.4st dev 11.3 4.2 6.5

Page 19: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

ANOVA• ANalysis Of VAriance (ANOVA) is used to find

significant genes in more than two conditions:

• For each gene, compute the F statistic.

• Calculate the p value for the F statistic.

Gene

Disease A Disease B Disease C

A1 A2 A3 B1 B2 B3 C1 C2 C3

g1 0.9 1.1 1.4 1.9 2.1 2.5 3.1 2.9 2.6

g2 4.2 3.9 3.5 5.1 4.6 4.3 1.8 2.4 1.5

g3 0.7 1.2 0.9 1.1 0.9 0.6 1.2 0.8 1.4

g4 2.0 1.2 1.7 4.0 3.2 2.8 6.3 5.7 5.1

∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙ ∙

Page 20: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

• Decide whether there are any differences between the values from k conditions (groups).– H0: µ1 = µ2 = …. = µk

– Hα: There is at least one pair of means that are different from each other.

• Assumptions:– All k populations have the same variance– All k populations are normal.

• ANOVA can be applied to any number of samples. If there are only two groups, the ANOVA will provide the same results as a t-test.

• Problem with multiple t-tests: accumulated error may be large.

One-way Analysis of Variance (ANOVA)

Page 21: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Idea of ANOVA

• The measurement of each group vary around their mean – within group variance.

• The means of each condition will vary around an overall mean – inter-group variability.

• ANOVA studies the relationship between the inter-group and the within-group variance.

Page 22: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

])(SS : withinsquares of Sum

:between squares of Sum

: groupfor mean The

:mean overall The

:tsmeasuremen of # Total

: groupfor tsmeasuremen of #, :groups of #

1 1

2

groupwithin

1 1

2

1

1 1

1

k

i

n

j

iijError

k

i

n

j

iCondgroupbetween

i

n

j iji

k

i

n

jij

k

i i

i

i

i

i

i

XXSS

XXSSSS

n

XXi

N

X

X

nN

nik

Page 23: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

p

kNvkvwithondistributiFMS

MSFF

kN

SSMS

kN

k

SSMS

k

Error

cond

ErrorError

CondCond

:Calculate

),1( :statistic

:squaresmean Error

:error for the freedom of Degrees

1 :squaresmean Condition

1 :conditions for the freedom of Degrees

21

Page 24: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

k

i

n

j

iijError

k

i

n

j

iDisease

i

n

j iji

k

i

n

jij

k

i i

i

i

i

i

i

XXSS

XXSS

n

XXi

N

X

X

nN

ni

k

1 1

2

1 1

2

1

1 1

1

20.747 :squares of sumError

13.810 :squares of sum Disease

: diseasefor mean The

67.84 :mean overall The

15 :tsmeasuremen of # Total

5 : diseasefor tsmeasuremen of #

3 :diseases of #

Page 25: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

012.0

50.627.62

06.405 :statistic

27.6212

20.747 :squaresmean Error

12315 :error for the freedom of Degrees

06.4052

13.810

1 :squaresmean Disease

2131 :diseases for the freedom of Degrees

p

MS

MSFF

kN

SSMS

kN

k

SSMS

k

Error

Disease

ErrorError

DiseaseDisease

Page 26: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Output from Excel (ANOVA, single factor):

At the 5% significance level, gene X is expressed differently between some of the disease conditions (p = 0.012).

Page 27: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

New OLAP Operation: Correlate

• Computing the Pearson correlation coefficient between two variables (e.g., between a clinical variable and a gene expression variable).

• Example:Expressionof gene X

50205

4583

15578

1550

0204020

Dosage ofDrug YIs the gene expression

correlated with the drug use?

ρxy = Cov(X, Y)

(Var X)(Var Y)

Page 28: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 3-28

The Covariance• The covariance measures the strength of the linear

relationship between two numerical variables (X & Y)

• The sample covariance:

• Only concerned with the strength of the relationship

• No causal effect is implied

1n

)YY)(XX()Y,X(cov

n

1iii

Page 29: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 3-29

Coefficient of Correlation• Measures the relative strength of the

linear relationship between two numerical variables

• Sample coefficient of correlation:

where

YXSS

Y),(Xcovr

1n

)X(XS

n

1i

2i

X

1n

)Y)(YX(XY),(Xcov

n

1iii

1n

)Y(YS

n

1i

2i

Y

Page 30: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

• Given two groups of samples X = {x1, …, xn } and Y = { y1, …, yn } .

• Pearson’ correlation coefficient r is given by

n

ii

n

ii

n

iii

yyxx

yyxxr

1

2_

1

2_

1

__

)()(

))((

Person’s Correlation Coefficient

Page 31: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 3-31

Features of theCoefficient of Correlation

• The population coefficient of correlation is referred as ρ.

• The sample coefficient of correlation is referred to as r.

• Either ρ or r have the following features:– Unit free

– Ranges between –1 and 1

– The closer to –1, the stronger the negative linear relationship

– The closer to 1, the stronger the positive linear relationship

– The closer to 0, the weaker the linear relationship

Page 32: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc..

Chap 3-32

Scatter Plots of Sample Data with Various Coefficients of Correlation

Y

X

Y

X

Y

X

Y

X

r = -1 r = -.6

r = +.3r = +1

Y

Xr = 0

Page 33: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Calculation of the Correlation Coefficient

80.038.1147

22.922

17.32407.4061

22.922

))((

),(

22.92216

)17.2415)(67.10250(

1

))((),(

17.32416

)17.2420()17.2415(

1

)(

07.406116

)67.10278()67.10250(

1

)(

6

17.24

67.102

1

222

1

222

1

VarYVarX

YXCov

n

YYXXYXCov

n

YYVarY

n

XXVarX

n

Y

X

XY

i

n

i i

n

i i

n

i i

Page 34: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

New OLAP Operation: Select

• Given a threshold, select the entries that meet the minimum requirement.

• Example:Gene

12345678

0.5610.0040.1600.3350.0830.0250.5320.476

p value

For a threshold of p < 0.05, gene 2 and gene 6 are selected.

Page 35: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Discovery of Differentially Expressed Genes (1)

Mea

sure

men

t

Unit

Gen

e

Sample (patient)1 2 3 4 5 6 7

D13626

D13627

D13628

J04605

L37042

S78653

X60003

Z11518

PAVal

10 14 18 5 24 32 16

Gen

e

Sample (patient)

1 2 3 4 5 6 7

D13626

D13627

D13628

J04605

L37042

S78653

X60003

Z11518

10 14 0 0 24 32 16

roll-up

Roll-up the microarray data over the Measurement Unit dimension using the user-defined aggregate function.

Page 36: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Discovery of Differentially Expressed Genes (2)G

ene

Sample (patient)

1 2 3 4 5 6 7

D13626

D13627

D13628

J04605

L37042

S78653

X60003

Z11518

10 14 0 0 24 32 16

roll-up to disease level

Gen

eSample (disease)

a b c d

D13626

D13627

D13628

J04605

L37042

S78653

X60003

Z11518

12 0 28 19

Roll-up the data over the Clinical Sample dimension from the patient level to disease level (or normal tissue level). After the roll-up, each cell contains mean, variance and the number of values aggregated.

Page 37: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Discovery of Differentially Expressed Genes (3)G

ene

Sample (disease)a b c d

D13626

D13627

D13628

J04605

L37042

S78653

X60003

Z11518

12 0 28 19

Compare a with c

Gen

e

D13626

D13627

D13628

J04605

L37042

S78653

X60003

Z11518

0.5610.0040.1600.3350.0830.0250.5320.476

p value

Compare a particular disease type with its corresponding normal tissue type. Compute the t statistic and p value for each gene. Select the genes that have a p value less than a given threshold (e.g., p < 0.05).

Page 38: MRNA Expression Experiment Measurement Unit Array Probe Gene Sequence n n 1 1 1 n Clinical Sample Anatomy Ontology n 1 Patient 1 n Disease n n ProjectPlatform

Discovery of Informative Genes

Roll-up the microarray data over the Measurement Unit dimension

Roll-up the data over the Clinical Sample dimension from the patient level to disease type or normal tissue level

Slice the data for a particular disease type and its corresponding normal tissue type

t-test on each pair of the selected cells for each gene(p-values are computed and adjusted)

p-select the genes that have p-values less than a given threshold