microarray data analysis - ii fiocruz bioinformatics workshop 6 june, 2001

49
Microarray Data Microarray Data Analysis - II Analysis - II FIOCRUZ Bioinformatics Workshop FIOCRUZ Bioinformatics Workshop 6 June, 2001 6 June, 2001

Upload: lora-johnson

Post on 11-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Microarray Data Analysis - IIMicroarray Data Analysis - II

FIOCRUZ Bioinformatics WorkshopFIOCRUZ Bioinformatics Workshop6 June, 20016 June, 2001

Page 2: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Spot Identification and Quantitation.Spot Identification and Quantitation.

Normalization of data from each experiment.Normalization of data from each experiment.

Identification of Differentially Expressed GenesIdentification of Differentially Expressed Genes

Identified of genes with correlated patterns of Identified of genes with correlated patterns of expression.expression.

Interpretation of data with respect to pathways.Interpretation of data with respect to pathways.

Literature filtered analysis.Literature filtered analysis.

Challenges in Microarray Data Analysis

Page 3: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Image Processing IssuesImage Processing Issues

• • Spot FindingSpot Finding

• • Background SubtractionBackground Subtraction

• • ReproducibilityReproducibility

• • Measure - median Measure - median vs.vs. mean (integrated intensity) mean (integrated intensity)

• • Quality measuresQuality measures

Page 4: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Loading Image Data Loading Image Data

Page 5: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Zooming In Zooming In

Page 6: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Image Overlay Image Overlay

Page 7: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Region Selection Region Selection

Page 8: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Grid Determination Grid Determination

Page 9: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Grid Adjustment Grid Adjustment

Page 10: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Spot Determination Spot Determination

Page 11: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Batch Mode Batch Mode

Page 12: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR SpotfinderTIGR Spotfinder Data Ouptut to Spreadsheet Data Ouptut to Spreadsheet

Output includes:Output includes:Integrated Intensity 1,Integrated Intensity 1,Integrated Intensity 2,Integrated Intensity 2,Ratio, Spot Area,Ratio, Spot Area,Saturation,Saturation,Mean and Median Mean and Median Intensities,Intensities,Quality FactorsQuality Factors

Page 13: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Comparison of Mean, Median, and Mode RatiosComparison of Mean, Median, and Mode Ratios

A comparison of Cy3/Cy5 ratios calculated using the mean, median, and mode ratios for A comparison of Cy3/Cy5 ratios calculated using the mean, median, and mode ratios for control spots that should have a measured ratio of 1 for the 1st, 3rd, 4th, 5th columns. control spots that should have a measured ratio of 1 for the 1st, 3rd, 4th, 5th columns.

1.398 0 1.113 0.830 0.518

1.984 0 0.554 0.906 5.721

1.536 0 1.113 1.152 0.570

1.051 0 2.490 1.684 1.437

2.794 0 0.976 1.544 1.651

1.095 0 1.564 1.203 1.516

1.332 0 1.253 0.614 94.797

1.697 0 16.921 2.039 0.788

0.550 0 1.065 0.873 0.916

1.022 0 0.742 0.377 0.681

1.707 0 1.714 1.411 2.167

1.784 0 0.392 0.976 1.080

2.269 0 0.318 1.708 0.615

1.932 0 0.604 1.331 0.579

0.052 0 1.618 0.380 1.254

0.641 0 0.543 1.373 1.022

average 1.428 2.061 1.150 7.207

stdev 0.690 4.004 0.479 23.391

1.000 0 0.930 1.053 0.898

1.067 0 1.053 1.056 1.015

1.008 0 1.042 1.056 1.003

1.098 0 1.047 1.034 1.026

0.980 0 0.998 1.004 0.955

1.041 0 1.040 1.045 1.074

1.030 0 1.081 1.029 1.134

1.013 0 0.987 1.085 1.014

0.896 0 1.025 1.007 1.079

1.026 0 1.028 1.072 0.874

1.001 0 1.067 1.020 1.014

0.977 0 0.928 1.094 0.979

1.061 0 1.105 1.027 1.096

1.136 0 0.963 1.067 1.020

0.929 0 1.033 1.083 1.062

0.877 0 0.974 1.133 1.110

average 1.009 1.019 1.054 1.022

stdev 0.068 0.051 0.034 0.072

1.012 0 0.966 0.987 0.897

1.135 0 1.037 1.034 1.015

1.008 0 1.058 1.008 1.058

1.079 0 1.059 1.061 1.026

1.022 0 1.069 1.031 1.019

1.070 0 1.032 1.024 1.139

0.986 0 1.058 1.064 1.047

1.057 0 0.990 1.063 1.022

0.935 0 1.105 1.069 1.079

1.094 0 1.024 1.057 0.892

1.014 0 1.040 0.997 1.019

0.985 0 1.005 1.067 1.035

1.011 0 1.033 1.035 1.143

1.232 0 0.996 1.169 1.077

0.819 0 1.085 1.118 1.039

0.942 0 0.999 1.129 1.061

average 1.025 1.035 1.057 1.036

stdev 0.092 0.037 0.049 0.067

Mean ratioMean ratio Median ratioMedian ratio Mode ratioMode ratio

Page 14: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Integral Ratio vs. used Spot Size

0

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

12 14 16 18 20 22 24 26

Spot Size (diameter), pixels

Inte

gral

rat

io

a1

a25

a24

d10

b15

a3

b24

c16

l23

a22

Median ratio vs. used Spot Size

0

0.5

1

1.5

2

2.5

12 14 16 18 20 22 24 26

Spot Size (diameter), pixels

Med

ian

rat

io

a1

a25

a24

d10

b15

a3

b24

c16

l23

a22

Integral (Mean) Ratio Integral (Mean) Ratio vs.vs. Median Ratio Median Ratio

A comparison of Cy3/Cy5 ratios for various spot sizes A comparison of Cy3/Cy5 ratios for various spot sizes using either the integrated intensity or the pixel using either the integrated intensity or the pixel median. In this case, the actual spot size is median. In this case, the actual spot size is approximately 15 pixels in diameter. approximately 15 pixels in diameter.

Page 15: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

GeneGeneSpot Spot on aon aSlideSlide

FluoresenceFluoresenceIntensityIntensity

ExpressionExpressionMeasurementMeasurement

SpeciesSpeciesSelectionSelection

DifferentialDifferentialGrowthGrowthConditionsConditions

RNA PreparationRNA Preparationand Labelingand Labeling

CompetitiveCompetitiveHybridizationHybridization

Microarray Expression AnalysisMicroarray Expression Analysis

Page 16: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Data Analysis IssuesData Analysis Issues

• • PresentationPresentation

• • Multiple ViewsMultiple Views

• • NormalizationNormalization

• • Identification of Differentially Expressed GenesIdentification of Differentially Expressed Genes

• • Multiple ExperimentsMultiple Experiments

Page 17: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Goal is to measure ratios of gene expression levelsGoal is to measure ratios of gene expression levels(ratio)(ratio)ii = R = Rii/G/Gii

where Rwhere Rii/G/Gii are, respectively , the measured intensities for are, respectively , the measured intensities for

the the iith spot.th spot.

In a self-self hybridization, we would expect all ratios to be In a self-self hybridization, we would expect all ratios to be equal to one:equal to one:

R Rii/G/Gii = 1 for all = 1 for all ii. But they may not be.. But they may not be.

Why not?Why not? Unequal labeling efficiencies for Cy3/Cy5Unequal labeling efficiencies for Cy3/Cy5 Noise in the systemNoise in the systemDifferential expressionDifferential expression

Normalization brings (appropriate) ratios back to one.Normalization brings (appropriate) ratios back to one.

Why Normalize Data?

Page 18: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization ApproachesNormalization Approaches

• • Total IntensityTotal Intensity

• • Linear RegressionLinear Regression

• • Ratio statistics described by Chen, Dougherty, & Bittner Ratio statistics described by Chen, Dougherty, & Bittner

J. Biomed. OpticsJ. Biomed. Optics (1997) 2(4) 364-374 (1997) 2(4) 364-374

• • Iterative log(ratio) mean centeringIterative log(ratio) mean centering

Any of these using:Any of these using:

•• Entire Data SetEntire Data Set

• • User-defined Data Set/ControlsUser-defined Data Set/Controls

Page 19: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization ApproachesNormalization ApproachesEntire Data SetEntire Data Set

• • Probe Quantification less importantProbe Quantification less important

• • No assumption on which genes constitute “housekeeping” setNo assumption on which genes constitute “housekeeping” set

• • Uses all the dataUses all the data

• • No independent confirmationNo independent confirmation

User-defined Data Set/ControlsUser-defined Data Set/Controls

• • Requires definition of “housekeeping” set Requires definition of “housekeeping” set

oror good added controls good added controls

• • Requires good RNA quantitationRequires good RNA quantitation

• • Ignores much dataIgnores much data

Page 20: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization ApproachesNormalization Approaches

SolutionSolution(?)(?)

• • Experiment dependentExperiment dependent

• • Use a combination of techniquesUse a combination of techniques

• • SMART Experimental designSMART Experimental design

Page 21: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Ratio Histogram

0

500

1000

1500

2000

2500

3000

3500

4000

4500

5000

0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 2

Ratio

Fre

qu

ency

Page 22: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Log(ratio) Histogram

0

500

1000

1500

2000

2500

3000

-2 -1.8

-1.6

-1.4

-1.2 -1 -0

.8-0

.6-0

.4-0

.2 0 0.2 0.4 0.6 0.8 1 1.2 1.4 1.6 1.8 2

Log(ratio)

Fre

qu

ency

Page 23: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization Approaches: Total IntensityNormalization Approaches: Total Intensity

array

k

array

k

N

k

N

k

G

RN

1

1Normalization Factor:

kkNGG and kkRR.Normalization:

Assumption: Total RNA (mass) used is same for both samplesAssumption: Total RNA (mass) used is same for both samples..

So, averaged across thousands of genes, total hybridizationSo, averaged across thousands of genes, total hybridizationshould be the sameshould be the same

Page 24: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization Approaches: Linear RegressionNormalization Approaches: Linear Regression

Assumption: Total RNA used is constant, some genes expressed withratio of 1, slope of best fit line normalized to 1

Normalization Factor:

Normalization:

kkk uGR 10

n

kikk

n

kk GRuS

1\

210

1

210 )(),(

The values of 0 and 1 that minimize ),( 10 S , 0b and 1b , are given by

n

kk

n

kkk

GG

GGRRb

1

2

11

)(

))((and GbRb 10

,

where n

RR k and

n

GG k .

kk Gb

G

1

1 and kkRR .

Page 25: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization Approaches: Ratio Statistics (1)Normalization Approaches: Ratio Statistics (1)

Assumption: Total RNA used is constant, some genes expressed withratio of 1, variations are functions of the common mean

Probablilty Density for Ratio Tk:

kk GGc and kk RRc, with kRG kk

.

)1(2

)1(exp

2)1(

1)1()(

2

2

2

2

tc

t

tc

tttf

kT

This d ensity can b e used to ca lcula te the mean, stand ard d evia tio n and co nfid ence inte rva l limitsfo r the d istrib utio n o f measured ra tio va lues. A s func tio ns o f c , these p arameters can b eestimated using a p o lyno mia l ap p ro ximatio n

0122

23

3 acacacay w ith co nstants a re cho sen ap p ro p ria te ly:

: ),,,( 0123 aaaa = (0 .3 6 4 , 1 .2 7 9 , 0 .0 4 2 7 , 1 .0 0 1 )

: ),,,( 0123 aaaa = ( 2 .8 0 5 , 2 .9 11 , 2 .7 0 6 , 0 .9 7 9 )

lo w er limit a t 9 5 % co nfid ence : ),,,( 0123 aaaa = (2 8 .6 4 4 , 2 .8 3 0 , 3 .0 8 2 , 0 .9 8 9 )

up p er limit a t 9 5 % co nfid ence : ),,,( 0123 aaaa = ( 5 .0 0 2 , .4 .4 6 2 , 3 .4 9 6 , 0 .9 9 6 8 )

Page 26: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Normalization Approaches: Ratio Statistics (2)Normalization Approaches: Ratio Statistics (2)A s s um e tha t the p o p ula tio n m e a n 0 = 1 a nd le t the firs t a p p ro x im a tio n o f the no rm a liza tio n p a ra m e te r m 1 b e e q ua l to the c a lc u la te d s a m p le m e a n .

A firs t a p p ro x im a tio n o f c , 1c , is c a lc u la te d us ing

21

12

2

1

11ˆ

n

j j

ji t

t

nc

w he re the s um is o ve r the n e le m e nts ta k e n in itia lly b e tw e e n the o ne - ha lf a nd tw ic e the s a m p le m e a n .

U p p e r a nd lo w e r lim its a t the 9 5 % c o nfid e nc e le ve l, 1 a nd 2 , a re the n c a lc u la te d us ing 1c a nd the p re v io us a p p ro x im a tio n .

A no rm a liza tio n fa c to r 1m is c a lc u la te d us ing

n

jj

ii t

nm

11

1ˆ1

ˆ

,

w he re , a ga in , w e ta k e 0 = 1 , the s um is o ve r the n a rra y e le m e nts us e d to e s tim a te 1c , a nd i is a n ind e x us e d to c o unt the num b e r o f ite ra tio ns .

T he ind iv id ua l ra tio s a re the n re s c a le d us ing

k

k

ki

k

i

kk G

R

Gm

R

m

tt

ˆˆ

.

T h is p ro c e s s is the n ite ra te d un til the c a lc u la te d va lue o f the m e a n e s tim a to r c o nve rge s to a fixe d va lue .

T he up p e r a nd lo w e r c o nfid e nc e lim its fo r the no rm a lize d e xp e r im e nta l d a ta a re the n c a lc u la te d a s

11 ˆ m a nd 22 ˆ m

a nd 21 , a re us e d to d e fine the lim its fo r id e n tific a tio n o f d iffe re n tia lly e xp re s s e d ge ne s

Page 27: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001
Page 28: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Bad Data from Parts Unknown

Gary ChurchillGary Churchill

Page 29: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Good Data from TREX

Page 30: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

L4A01-04-01-41Normalized

0

200

400

600

800

1000

1200

1400

1600

1800

2000

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 More

log2(R/G)

Fre

qu

ency

= 0.1853

L4A01-04-01-41Normalized

-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

28 30 32 34 36 38 40 42 44 46

log2(R*G)

log

2(R

/G)

L4A01-04-01-41

Lowess correction

0

200

400

600

800

1000

1200

1400

1600

1800

2000

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 More

log2(R/G)

Fre

qu

ency

= 0.1758

L4A01-04-01-41

Lowess correction

-2

-1.5

-1

-0.5

0

0.5

1

1.5

2

27 29 31 33 35 37 39 41 43 45 47

log2(R*G)

log

2(R

/G)

Normalization using local linear regressionNormalization using local linear regression

Ivana Yang , John QuackenbushIvana Yang , John Quackenbush

1.23 fold 1.23 fold

Page 31: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

OVCAR301-04-01-16Normalized

0

500

1000

1500

2000

2500

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 More

Log2 (R/G)

Fre

qu

ency

= 0.1713

OVCAR301-04-01-16Normalized

-4

-3

-2

-1

0

1

2

3

4

28 30 32 34 36 38 40 42 44 46

log2 (R*G)

log

2 (

R/G

)

OVCAR301-04-01-16

Lowess correction

0

500

1000

1500

2000

2500

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 More

log2 (R/G)

Fre

qu

ency

= 0.1661

OVCAR301-04-01-16

Lowess correction

-4

-3

-2

-1

0

1

2

3

4

28 30 32 34 36 38 40 42 44 46

log2 (R*G)

log

2 (

R/G

)

Normalization using local linear regressionNormalization using local linear regression

Ivana Yang , John QuackenbushIvana Yang , John Quackenbush

1.23 fold 1.23 fold

Page 32: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

SW48001-04-01-7Normalized

0

500

1000

1500

2000

2500

3000

3500

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 More

log2(R/G)

Fre

qu

ency

= 0.1798

SW48001-04-01-7Normalized

-7

-5

-3

-1

1

3

5

7

25 30 35 40 45 50

log2(R*G)

log

2(R

/G)

SW48001-04-01-7

Lowess correction

0

500

1000

1500

2000

2500

3000

3500

-1 -0.9 -0.8 -0.7 -0.6 -0.5 -0.4 -0.3 -0.2 -0.1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 More

log2(R*G)

Fre

qu

ency

= 0.1759

SW48001-04-01-7

Lowess correction

-7

-5

-3

-1

1

3

5

7

25 30 35 40 45 50

log2(R*G)

log

2(R

/G)

Normalization using local linear regressionNormalization using local linear regression

Ivana Yang , John QuackenbushIvana Yang , John Quackenbush

1.23 fold 1.23 fold

Page 33: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Goal is identify genes (or experiments) which haveGoal is identify genes (or experiments) which have“similar” patterns of expression“similar” patterns of expression

This is a problem in data miningThis is a problem in data mining

““Clustering Algorithms” are most widely usedClustering Algorithms” are most widely used

TypesTypes Agglomerative: HierarchicalAgglomerative: Hierarchical Divisive: Divisive: kk-means, SOMs-means, SOMs Others: Principal Component Analysis (PCA)Others: Principal Component Analysis (PCA)

All depend on how one measures distanceAll depend on how one measures distance

Multiple Experiments?

Page 34: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Crucial concept for understanding clusteringCrucial concept for understanding clustering

Each gene is represented by a vector where coordinates are Each gene is represented by a vector where coordinates are its values log(ratio) in each experimentits values log(ratio) in each experiment

xx = log(ratio) = log(ratio)expt1expt1

yy = log(ratio) = log(ratio)expt2expt2

zz = log(ratio) = log(ratio)expt3expt3

etc.etc.

For example, if we do six experiments, For example, if we do six experiments, GeneGene11 = (-1.2, -0.5, 0, 0.25, 0.75, 1.4) = (-1.2, -0.5, 0, 0.25, 0.75, 1.4)

GeneGene22 = (0.2, -0.5, 1.2, -0.25, -1.0, 1.5) = (0.2, -0.5, 1.2, -0.25, -1.0, 1.5)

GeneGene33 = (1.2, 0.5, 0, -0.25, -0.75, -1.4) = (1.2, 0.5, 0, -0.25, -0.75, -1.4)

etc.etc.

Expression Vectors

Page 35: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

These gene expression vectors of log(ratio) values can be These gene expression vectors of log(ratio) values can be used to construct an expression matrixused to construct an expression matrix

Expression Matrix

Exp

t 1

Exp

t 1

Exp

t 2

Exp

t 2

Exp

t 3

Exp

t 3

Exp

t 4

Exp

t 4

Exp

t 5

Exp

t 5

Exp

t 6

Exp

t 6

GeneGene11 -1.2 -0.5 0 0.25 0.75 1.4 -1.2 -0.5 0 0.25 0.75 1.4

GeneGene22 0.2 -0.5 1.2 -0.25 -1.0 1.5 0.2 -0.5 1.2 -0.25 -1.0 1.5

GeneGene33 1.2 0.5 0 -0.25 -0.75 -1.4 1.2 0.5 0 -0.25 -0.75 -1.4

etc.etc.

This is often represented as a red/green colored matrixThis is often represented as a red/green colored matrix

Page 36: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Distances are measured “between” expression vectorsDistances are measured “between” expression vectors

Distance metrics define the way we measure distancesDistance metrics define the way we measure distances

Many different ways to measure distance:Many different ways to measure distance: Euclidean distanceEuclidean distance Pearson correlation coefficient(s)Pearson correlation coefficient(s) Manhattan distanceManhattan distance Mutual informationMutual information Kendall’s TauKendall’s Tau etc.etc.

Each has different properties and can reveal different Each has different properties and can reveal different features of the datafeatures of the data

Distance metrics

Page 37: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Once a distance metric has been selected, the starting point Once a distance metric has been selected, the starting point for all clustering methods is a “distance matrix”for all clustering methods is a “distance matrix”

Distance Matrix

Gen

eG

ene 11

Gen

eG

ene 22

Gen

eG

ene 33

Gen

eG

ene 44

Gen

eG

ene 55

Gen

eG

ene 66

GeneGene11 0 1.5 1.2 0.25 0.75 1.4 0 1.5 1.2 0.25 0.75 1.4

GeneGene22 1.5 1.5 0 1.3 0.55 2.0 1.5 0 1.3 0.55 2.0 1.5

GeneGene33 1.2 1.3 0 1.3 0.75 0.3 1.2 1.3 0 1.3 0.75 0.3

GeneGene44 0.25 0.55 0.25 0.55 1.31.3 0 0.25 0.4 0 0.25 0.4

GeneGene55 0.75 2.0 0.75 0.25 0 1.2 0.75 2.0 0.75 0.25 0 1.2

GeneGene66 1.4 1.5 0.3 0.4 1.2 0 1.4 1.5 0.3 0.4 1.2 0

The elements of this matrix are the pair-wise distances. The elements of this matrix are the pair-wise distances. Note that the matrix is symmetric about the diagonal.Note that the matrix is symmetric about the diagonal.

Page 38: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Select the data you want to clusterSelect the data you want to cluster

““Filter” (normalize) the data appropriately and select distanceFilter” (normalize) the data appropriately and select distance

Apply method:Apply method:  1. 1. Search through the distance matrix and find the two most similar Search through the distance matrix and find the two most similar

clusters. This is the first true stage in the “clustering” process. If clusters. This is the first true stage in the “clustering” process. If several pairs share the same similarity, use a predetermined rule several pairs share the same similarity, use a predetermined rule

to to decide between alternatives.decide between alternatives. 2. 2. Fuse the two selected clusters to produce a new cluster that now Fuse the two selected clusters to produce a new cluster that now contains at least two objects. contains at least two objects.  3. 3. Calculate the distances between this new cluster and all other Calculate the distances between this new cluster and all other clusters. There is no need to calculate clusters. There is no need to calculate allall distances since only those distances since only those involving the new cluster have changed.involving the new cluster have changed.

Repeat steps 1-3 until all objects are in one cluster.Repeat steps 1-3 until all objects are in one cluster.

Hierarchical clustering

Page 39: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Select the data you want to cluster and filter; select distanceSelect the data you want to cluster and filter; select distance

Apply method:Apply method:1.1. All initial objects are randomly assigned to one of All initial objects are randomly assigned to one of kk clusters (where clusters (where kk

is an input parameter to the algorithm).is an input parameter to the algorithm).2. 2. An average expression vector is then calculated for each cluster and An average expression vector is then calculated for each cluster and

this is used to compute the distances between clusters.this is used to compute the distances between clusters.3. 3. Objects are moved between clusters and intra- and inter-cluster Objects are moved between clusters and intra- and inter-cluster distances are measured with each move. Objects are allowed to distances are measured with each move. Objects are allowed to remain in the new cluster only if they are closer to it than to their remain in the new cluster only if they are closer to it than to their previous cluster.previous cluster.4. 4. Following each move, the expression vectors for each cluster are Following each move, the expression vectors for each cluster are recalculated.recalculated.5. 5. The shuffling proceeds until moving any more objects would make The shuffling proceeds until moving any more objects would make

the clusters more variable.the clusters more variable.

k-means clustering

Page 40: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Select the data you want to cluster and filter; select distanceSelect the data you want to cluster and filter; select distance

Apply method:Apply method:1.1. Random vectors are constructed and assigned to each partition. Random vectors are constructed and assigned to each partition.

(where the number and geometry are input parameters).(where the number and geometry are input parameters).2. 2. A gene is picked at random and using a selected distance metric, the A gene is picked at random and using a selected distance metric, the

reference vector that it is closest to the gene’s is identified .reference vector that it is closest to the gene’s is identified .3. 3. The reference vector is then adjusted so that it is more similar to the The reference vector is then adjusted so that it is more similar to the

randomly picked gene’s. The reference vectors that are nearby randomly picked gene’s. The reference vectors that are nearby on on the two dimensional grid are also adjusted so that they too are the two dimensional grid are also adjusted so that they too are more more similar to the randomly selected gene .similar to the randomly selected gene .4. 4. Steps 2 and 3 are iterated several thousand times, decreasing the Steps 2 and 3 are iterated several thousand times, decreasing the amount by which the reference vectors are adjusted and increasing amount by which the reference vectors are adjusted and increasing the stringency used to define closeness in each step. As the process the stringency used to define closeness in each step. As the process continues, the reference vectors are converge to fixed values .continues, the reference vectors are converge to fixed values .5. 5. Finally, the genes are mapped to the relevant partitions depending Finally, the genes are mapped to the relevant partitions depending on on the reference vector to which they are most similar.the reference vector to which they are most similar.

Self Organizing Maps (SOMs)

Page 41: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Select the data you want to cluster and filterSelect the data you want to cluster and filter

Apply method:Apply method:OK, this gets a bit complicated. . . . OK, this gets a bit complicated. . . .

Basically:Basically:1.1. We find the eigenvectors of the expression matrix We find the eigenvectors of the expression matrix2.2. We select those with the greatest eigenvalues We select those with the greatest eigenvalues3.3. We project our data on the eigenvectors with the three greatest We project our data on the eigenvectors with the three greatest

eigenvalueseigenvalues4.4. And make pretty pictures And make pretty pictures

Principal Component Analysis (PCA)

Page 42: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Select the data you want to cluster and filterSelect the data you want to cluster and filter

Apply method:Apply method:OK, this gets even more complicated. . . . OK, this gets even more complicated. . . .

Basically this is a neural network approach to finding dividing your Basically this is a neural network approach to finding dividing your data into genes “like” and “unlike” a training set. . . . data into genes “like” and “unlike” a training set. . . .

1.1. Pick a set of genes you are know about (your training set) Pick a set of genes you are know about (your training set)2.2. Train the SVM. This produces a pattern that can be recognized Train the SVM. This produces a pattern that can be recognized3.3. Screen the data using the SVM model Screen the data using the SVM model

Support Vector Machines (SVM)

Page 43: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

TIGR MeV: Test Data SetTIGR MeV: Test Data Set

Page 44: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Hierarchical ClusteringHierarchical Clustering

(A)(A) Average LinkageAverage Linkage

(B)(B) Complete LinkageComplete Linkage

(C)(C) Single LinkageSingle Linkage

Even related algorithmsEven related algorithmsproduce slightly differentproduce slightly differentviews of the data.views of the data.

Page 45: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Hierarchical Clustering and PCAHierarchical Clustering and PCA

(A)(A) Average LinkageAverage Linkage

(B)(B) PCAPCA

Separate clusters may Separate clusters may have more or less have more or less support when using support when using different algorithms.different algorithms.

Page 46: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

kk-means Clustering-means Clustering

Separate clusters may Separate clusters may have more or less have more or less support when using support when using different algorithms.different algorithms.

Note colors are based onNote colors are based onhierarchical clusteringhierarchical clusteringResults.Results.

Page 47: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

The effects on Mean CenteringThe effects on Mean Centering

(A)(A) Expression Expression ProfilesProfiles

(B)(B) PCAPCA(C)(C)HierarchicalHierarchical

ClusteringClustering

Adjusting the dataAdjusting the datacan have profoundcan have profoundeffects, but allow effects, but allow different patterns to different patterns to be seen.be seen.

Page 48: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

Very Useful Microarray URLsVery Useful Microarray URLs

Leming ShiLeming Shi http://www.gene-chips.comhttp://www.gene-chips.comTIGRTIGR http://pga.tigr.org/toolshttp://pga.tigr.org/toolsMGEDMGED http://www.mged.orghttp://www.mged.orgWentian LiWentian Li http://linkage.rockefeller.edu/wli/microarrayhttp://linkage.rockefeller.edu/wli/microarrayEBIEBI http://industry.ebi.ac.uk/~alan/MicroArrayhttp://industry.ebi.ac.uk/~alan/MicroArrayTerry SpeedTerry Speed http://stat-www.berkeley.edu/users/terry/zarray/Htmlhttp://stat-www.berkeley.edu/users/terry/zarray/HtmlJoe DerisiJoe Derisi http://www.microarrays.org/index.htmlhttp://www.microarrays.org/index.htmlPat BrownPat Brown http://cmgm.stanford.edu/pbrown/mguide/http://cmgm.stanford.edu/pbrown/mguide/NCGRNCGR http://www.ncgr.org/research/genex/other_tools.htmlhttp://www.ncgr.org/research/genex/other_tools.html StanfordStanford http://www.dnachip.orghttp://www.dnachip.org

HAPIHAPI http://array.ucsd.eduhttp://array.ucsd.edu

Page 49: Microarray Data Analysis - II FIOCRUZ Bioinformatics Workshop 6 June, 2001

The TIGR Gene Index TeamThe TIGR Gene Index TeamJennifer ChoJennifer Cho

Svetlana KaramychevaSvetlana KaramychevaYudan LeeYudan Lee

Babak ParviziBabak ParviziGeo PerteaGeo Pertea

Razvan SultanaRazvan SultanaJennifer TsaiJennifer Tsai

John QuackenbushJohn QuackenbushJoseph WhiteJoseph White

Funding provided by the Department of EnergyFunding provided by the Department of Energyand the National Science Foundationand the National Science Foundation

TIGR Human/Mouse/Arabidopsis TIGR Human/Mouse/Arabidopsis Expression TeamExpression Team

Emily ChenEmily ChenRenee GaspardRenee Gaspard

Jeremy HassemanJeremy HassemanHeenam KimHeenam Kim

John QuackenbushJohn QuackenbushErik SnesrudErik Snesrud

Shiubang WangShiubang WangIvana YangIvana Yang

Yan YuYan YuBaoping ZhaoBaoping Zhao

Array Software Hit TeamArray Software Hit TeamJerry LiJerry Li

John QuackenbushJohn QuackenbushAlex SaeedAlex Saeed

Vasily SharovVasily SharovAlexander SturnAlexander Sturn

Joseph WhiteJoseph White

AssistantAssistantMary MulhollandMary Mulholland

Funding provided by the National Cancer Institute,Funding provided by the National Cancer Institute,the National Heart, Lung, Blood Institute,the National Heart, Lung, Blood Institute,

and the National Science Foundationand the National Science Foundation

TIGR CollaboratorsTIGR CollaboratorsNorman LeeNorman LeeRenae MalekRenae Malek

Hong-Ying WangHong-Ying WangTruong LuuTruong Luu

Nnenna U. NwokekehNnenna U. Nwokekeh

TIGR Faculty, IT Group, and StaffTIGR Faculty, IT Group, and Staff

<[email protected]><[email protected]>

AcknowledgmentsAcknowledgments

Resources: <http://pga.tigr.org/tools.shtml>Resources: <http://pga.tigr.org/tools.shtml>