the following slides have been adapted from // to be presented at the follow-up course on microarray...

42
The following slides have been adapted from http://www.tm4.org/ to be presented at the Follow-up course on Microarray Data Analysis (Nov 20-24 2006, PICB Shanghai) by Peter Serocka

Upload: cullen-perkinson

Post on 01-Apr-2015

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

The following slides have been adapted from

http://www.tm4.org/ to be presented at the

Follow-up course on Microarray Data Analysis

(Nov 20-24 2006, PICB Shanghai) by Peter Serocka

Page 2: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Analysis of Multiple Experiments

TIGR Multiple Experiment Viewer (MeV)

Page 3: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

The Expression Matrix is a representation of data from multiplemicroarray experiments.

Each element is a log ratio(usually log 2 (Cy5 / Cy3) )

Red indicates a positive log ratio, i.e, Cy5 > Cy3

Green indicates anegative log ratio , i.e.,Cy5 < Cy3

Black indicates a logratio of zero, i. e., Cy5 and Cy3 are very close in value

Exp 1 Exp 2 Exp 3 Exp 4 Exp 5 Exp 6

Gene 1

Gene 2

Gene 3

Gene 4

Gene 5

Gene 6

Gray indicates missing data

Page 4: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Expression Vectors-Gene Expression Vectors

encapsulate the expression of a gene over a set of experimental conditions or sample types.

-0.8 0.8 1.5 1.8 0.5 -1.3 -0.4 1.5

-2

0

2

1 2 3 4 5 6 7 8Log2(cy5/cy3)

Page 5: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Expression Vectors As Points in‘Expression Space’

Experiment 1

Experiment 2

Experiment 3

Similar Expression

-0.8

-0.60.9 1.2

-0.3

1.3

-0.7Exp 1 Exp 2 Exp 3

G1

G2

G3

G4

G5

-0.4-0.4

-0.8-0.8

-0.7

1.3 0.9 -0.6

Page 6: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Distance and Similarity

-the ability to calculate a distance (or similarity, it’s inverse) between two expression vectors is fundamental to clustering algorithms

-distance between vectors is the basis upon which decisions are made when grouping similar patterns of expression

-selection of a distance metric defines the concept of distance

Page 7: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Distance: a measure of similarity between genes.

Exp 1 Exp 2 Exp 3 Exp 4 Exp 5 Exp 6

Gene A

Gene B

x1A x2A x3A x4A x5A x6A

x1B x2B x3B x4B x5B x6B

Some distances: (MeV provides 11 metrics)

1. Euclidean: i = 1 (xiA - xiB)26

2. Manhattan: i = 1 |xiA – xiB|6

3. Pearson correlation

p0

p1

Page 8: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Distance is Defined by a Metric

-2

0

2

log2(cy5/cy3)

Euclidean Pearson(r*-1)Distance Metric:

4.2

1.4

-1.00

-0.90D

D

Page 9: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Algorithms…

Page 10: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Hierarchical Clustering (HCL)

HCL is an agglomerative clustering method which joins similar genes into groups. The iterative process continues with the joining of resulting groups based on their similarity until all groups are connected in a hierarchical tree.

(HCL-1)

Page 11: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Hierarchical Clustering

g8g1 g2 g3 g4 g5 g6 g7

g7g1 g8 g2 g3 g4 g5 g6

g7g1 g8 g4 g2 g3 g5 g6

g1 is most like g8

g4 is most like {g1, g8}

(HCL-2)

Page 12: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

g7g1 g8 g4 g2 g3 g5 g6

g6g1 g8 g4 g2 g3 g5 g7

g6g1 g8 g4 g5 g7 g2 g3

Hierarchical Clustering

g5 is most like g7

{g5,g7} is most like {g1, g4, g8}

(HCL-3)

Page 13: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

g6g1 g8 g4 g5 g7 g2 g3

Hierarchical Tree

(HCL-4)

Page 14: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Hierarchical Clustering

During construction of the hierarchy, decisions must be made to determine which clusters should be joined. The distance or similarity between clusters must be calculated. The rules that govern this calculation are linkage methods.

(HCL-5)

Page 15: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Agglomerative Linkage Methods

Linkage methods are rules or metrics that return a value that can be used to determine which elements (clusters) should be linked.

Three linkage methods that are commonly used are:

• Single Linkage• Average Linkage• Complete Linkage

(HCL-6)

Page 16: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Cluster-to-cluster distance is defined as the minimum distance between members of one cluster and members of the another cluster. Single linkage tends to create ‘elongated’ clusters with individual genes chained onto clusters.

DAB = min ( d(ui, vj) )

where u A and v Bfor all i = 1 to NA and j = 1 to NB

Single Linkage

(HCL-7)

DAB

Page 17: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Cluster-to-cluster distance is defined as the average distance between all members of one cluster and all members of another cluster. Average linkage has a slight tendency to produce clusters of similar variance.

DAB = 1/(NANB) ( d(ui, vj) )

where u A and v Bfor all i = 1 to NA and j = 1 to NB

Average Linkage

(HCL-8)

DAB

Page 18: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Cluster-to-cluster distance is defined as the maximum distance between members of one cluster and members of the another cluster. Complete linkage tends to create clusters of similar size and variability.

DAB = max ( d(ui, vj) )

where u A and v Bfor all i = 1 to NA and j = 1 to NB

Complete Linkage

(HCL-9)

DAB

Page 19: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Comparison of Linkage Methods

Single Ave. Complete(HCL-10)

Page 20: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

1. Specify number of clusters, e.g., 5.

2. Randomly assign genes to clusters.

G1 G2 G3 G4 G5 G6 G7 G8 G9 G10 G11 G12 G13

K-Means / K-Medians Clustering (KMC)– 1

Page 21: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

K-Means Clustering – 2

3. Calculate mean / median expression profile of each cluster.

4. Shuffle genes among clusters such that each gene is now in the cluster whose mean / median expression profile (calculated in step 3) is the closest to that gene’s expression profile.

G1 G2G3 G4 G5G6

G7

G8 G9G10

G11

G12

G13

5. Repeat steps 3 and 4 until genes cannot be shuffled around any more, OR a user-specified number of iterations has been reached.

K-Means / K-Medians is most useful when the user has an a-priori hypothesis about the number of clusters the genes should group into.

Page 22: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Cluster Affinity Search Technique (CAST)

-uses an iterative approach to segregate elements with ‘high affinity’ into a cluster

-the process iterates through two phases

-addition of high affinity elements to the cluster being created

-removal or clean-up of low affinity elements from the cluster being created

Page 23: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Clustering Affinity Search Technique (CAST)-1Affinity = a measure of similarity between a gene, and all the genes in a cluster. Threshold affinity = user-specified criterion for retaining a gene in a cluster, defined as%age of maximum affinity at that point

1. Create a new empty cluster C1.

3. Move the two most similar genes into the new cluster.

Empty cluster C1

G2G4

G9

G8

G12

G6

G1

G7

G13

G11

G14

G3

G5 G15

G10

Unassigned genes

4. Update the affinities of all the genes (new affinity of a gene = its previous affinity + its similarity to the gene(s) newly added to the cluster C1)

2. Set initial affinity of all genes to zero

5. While there exists an unassigned gene whose affinity to the cluster C1 exceeds theuser-specified threshold affinity, pick the unassigned gene whose affinity is the highest,and add it to cluster C1. Update the affinities of all the genes accordingly.

ADD GENES:

Page 24: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

CAST – 2

6. When there are no more unassigned high-affinity genes, check to see if cluster C1 contains any elements whose affinity is lower than the current threshold. If so, removethe lowest-affinity gene from C1. Update the affinities of all genes by subtracting from each gene’s affinity, its similarity to the removed gene.

7. Repeat step 6 while C1 contains a low-affinity gene.

8. Repeat steps 5-7 as long as changes occur to the cluster C1.

REMOVE GENES:

9. Form a new cluster with the genes that were not assigned to cluster C1, repeating steps1-8.

10. Keep forming new clusters following steps 1-9, until all genes have been assigned to a cluster

Current cluster C1

G2G4

G9

G8

G12G6

G1 G7

G13

G11

G14

G3

G5

G15G10

Unassigned genes

Page 25: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

QT-Clust (from Heyer et. al. 1999) (HJC) -1

1. Compute a jackknifed distance between all pairs of genes(Jackknifed distance: The data from one experiment are excluded from both genes, and the distance is calculated. Each experiment is thus excluded in turn, and the maximum distancebetween the two genes (over all exclusions) is the jackknifed distance. This is a conservativeestimate of distance that accounts for bias that might be introduced by single outlier experiments.)

2. Choose a gene as the seed for a new cluster. Add the gene which increases cluster diameter the least. Continue adding genes until additional genes will exceed the specified cluster diameter limit.

G4G6

G5

G8

G7

G9

G10G2G3

G11

G1“Seed” gene

Currently unassigned genes

Current cluster

G11

G12

3. Repeat step 2 for every gene, so that each gene has the chance to be the seed of a new cluster. All clusters are provisional at this point.

Page 26: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

QT-Clust – 2

4. Choose the largest cluster obtained from steps 2 and 3. In case of a tie, pick one of the largest clusters at random.

5. All genes that are not in the cluster selected above are treated as currently unassigned. Repeat steps 2-4 on these unassigned genes.

6. Stop when the last cluster thus formed has fewer genes than a user-specified number.All genes that are not in a cluster at this point are treated as unassigned.

G1“Seed” gene

G11

G12G7

G8 G2

“Seed” gene

G11

G10

G3

G4

G1

G5

G9

G7

G8G3

“Seed” gene

G9G4

Pick this cluster

Page 27: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Self Organizing Tree Algorithm

• Dopazo, J. , J.M Carazo, Phylogenetic reconstruction using and unsupervised growing neural network that adopts the topology of a phylogenetic tree. J. Mol. Evol. 44:226-233, 1997.

• Herrero, J., A. Valencia, and J. Dopazo. A hierarchical unsupervised growing neural network for clustering gene expression patterns. Bioinformatics, 17(2):126-136, 2001.

SOTA - 1

Page 28: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

SOTA Characteristics• Divisive clustering, allowing high level hierarchical

structure to be revealed without having to completely partition the data set down to single gene vectors

• Data set is reduced to clusters arranged in a binary tree topology

• The number of resulting clusters is not fixed before clustering

• Neural network approach which has advantages similar to SOMs such as handling large data sets that have large amounts of ‘noise’

SOTA - 2

Page 29: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

SOTA Topology

Parent Node

Winning Cell

Sister Cell

p

ws

migration factor (s < p < w)

SOTA - 3

Centroid Vector

Members

Page 30: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Adaptation Overview-each gene vector associated with the parent is compared to the centroid vector of its offspring cells.

-the most similar cell’s centroid and its neighboring cells are adapted using the appropriate migration weights.

SOTA - 4

Page 31: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

-following the presentation of all genes to the system a measure of system diversity is used to determine if training has found an optimal position for the offspring.

-if the system diversity improves (decreases) then another training epoch is started otherwise training ends and a new cycle starts with a cell division.

SOTA - 5

Page 32: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

The most ‘diverse’ cell is selected for division at the start of the next training cycle.

SOTA - 6

Page 33: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Growth Termination

Expansion stops when the most diverse cell’s diversity falls below a threshold.

SOTA - 7

Page 34: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

0

0.05

0.1

0.15

0.2

0 100 200 300 400 500

Adaptation Epoch Number

Tree Diversity

Each training cycle ends when the overall tree diversity ‘stabilizes’.This triggers a cell division andpossibly a new training cycle.

SOTA - 8

Page 35: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Self-organizing maps (SOMs) – 1

1. Specify the number of nodes (clusters) desired, and also specify a 2-D geometry for the nodes, e.g., rectangular or hexagonal

N = NodesG = GenesG1 G6

G3

G5

G4G2

G11

G7G8

G10

G9

G12 G13

G14G15

G19G17

G22

G18

G20

G16

G21G23

G25G24

G26 G27

G29G28

N1 N2

N3 N4

N5 N6

Page 36: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

SOMs – 22. Choose a random gene, e.g., G9

3. Move the nodes in the direction of G9. The node closest to G9 (N2) is movedthe most, and the other nodes are moved by smaller varying amounts. The further away the node is from N2, the less it is moved.

G1 G6

G3

G5G4

G2

G11

G7G8

G10G9

G12 G13G14

G15

G19G17

G22

G18G20

G16

G21G23

G25G24

G26 G27

G29G28

N1 N2

N3 N4

N5 N6

Page 37: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

SOM Neighborhood Options

G11

G7G8

G10G9

N1 N2

N3 N4

N5 N6

G11

G7G8

G10G9

N1 N2

N3 N4

N5 N6

Bubble Neighborhood

Gaussian

Neighborhoodradius

All move, alpha is scaled.Some move, alpha is constant.

Page 38: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

SOMs – 3

4. Steps 2 and 3 (i.e., choosing a random gene and moving the nodes towards it) arerepeated many (usually several thousand) times. However, with each iteration, the amountthat the nodes are allowed to move is decreased.

5. Finally, each node will “nestle” among a cluster of genes, and a gene will be considered to be in the cluster if its distance to the node in that cluster is less than itsdistance to any other node

G1 G6

G3

G5G4

G2

G11

G7G8

G10G9

G12 G13G14

G15

G19G17

G22

G18G20

G16

G21G23

G25G24

G26 G27

G29G28

N1 N2

N3

N4

N5N6

Page 39: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Compute first principle component of expression matrix

Shave off % (default 10%) of genes with lowest values of dot product with 1st principal component

Orthogonalize expression matrix with respect to the average gene in the cluster and repeat shaving procedure

Repeat until only one gene remains

Results in a series of nested clusters

Choose cluster of appropriate size as determined by gap statistic calculation

Gene Shaving

Page 40: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Gap statistic calculation (choosing cluster size)

Quality measure for clusters:

Create random permutations of the expression matrix and calculate R2 for each

Large R2 implies a tight cluster of coherent genes

within variance between variance

R2 =

Compare R2 of each cluster to that of the entire expression matrix

Choose the cluster whose R2 is furthest from the average R2 of the permuted expression matrices.

between variance of mean gene across experiments

within variance of each gene about the cluster average

Gene Shaving

The final cluster contains a set of genes that are

greatly affected by the experimental

conditions in a similar way.

Page 41: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Relevance Networks

Set of genes whose expression profiles are predictive of one another.

Genes with low entropy (least variable across experiments)are excluded from analysis.

H = -p(x)log2(p(x))x=1

10

Can be used to identify negative correlations between genes

Page 42: The following slides have been adapted from // to be presented at the Follow-up course on Microarray Data Analysis

Relevance Networks

Correlation coefficients outside the boundaries defined by the minimum and maximum thresholds are eliminated.

A

D

E B

C

.28

.75

.15.37

.40

.02

.51

.11

.63

.92A

D

E B

C

Tmin = 0.50The expression pattern of each gene compared to that of every other gene.

The ability of each gene to predict the expression of each other gene is assigned a correlation coefficient

Tmax = 0.90

The remaining relationships between genes define the subnets