54
Preprocessing of cDNA Preprocessing of cDNA microarray Data microarray Data Statistics 246, Spring 2002, Week 7, Lecture 2

Preprocessing of cDNA microarray Data

  • Upload
    avani

  • View
    43

  • Download
    0

Embed Size (px)

DESCRIPTION

Preprocessing of cDNA microarray Data. Statistics 246, Spring 2002, Week 7, Lecture 2. Begin by looking at the data. Was the experiment a success? What analysis tools should be used? Are there any specific problems?. Red/Green overlay images. - PowerPoint PPT Presentation

Citation preview

Page 1: Preprocessing of cDNA microarray Data

Preprocessing of cDNA Preprocessing of cDNA microarray Datamicroarray Data

Statistics 246, Spring 2002,

Week 7, Lecture 2

Page 2: Preprocessing of cDNA microarray Data

Was the experiment a success?

What analysis tools should be used?

Are there any specific problems?

Begin by looking at the dataBegin by looking at the data

Page 3: Preprocessing of cDNA microarray Data

Red/Green overlay images

Good: low bg, lots of d.e. Bad: high bg, ghost spots, little d.e.

Co-registration and overlay offers a quick visualization,revealing information on color balance, uniformity ofhybridization, spot uniformity, background, and artifiactssuch as dust or scratches

Page 4: Preprocessing of cDNA microarray Data

Always log, always rotate

log2R vs log2G M=log2R/G vs A=log2√RG

Page 5: Preprocessing of cDNA microarray Data

Signal/Noise = log2(spot intensity/background intensity)

Histograms

Page 6: Preprocessing of cDNA microarray Data

Boxplots of log2R/G

Liver samples from 16 mice: 8 WT, 8 ApoAI KO.

Page 7: Preprocessing of cDNA microarray Data

Spatial plots: background from the two slides

Page 8: Preprocessing of cDNA microarray Data

Highlighting extreme log ratios

Top (black) and bottom (green) 5% of log ratios

Page 9: Preprocessing of cDNA microarray Data

Boxplots and highlightingBoxplots and highlighting

Clear example of spatial bias

Print-tip groups

Lo

g-r

ati o

s

pin group #

Page 10: Preprocessing of cDNA microarray Data

Pin group (sub-array) effects

Boxplots of log ratios by pin groupLowess lines through points from pin groups

Page 11: Preprocessing of cDNA microarray Data

Plate effects

Page 12: Preprocessing of cDNA microarray Data

KO #8

Probes: ~6,000 cDNAs, including 200 related to lipid metabolism. Arranged in a 4x4 array of 19x21 sub-arrays.

Page 13: Preprocessing of cDNA microarray Data

Time of printing effects

Green channel intensities (log2G). Printing over 4.5 days.The previous slide depicts a slide from this print run.

spot number

Page 14: Preprocessing of cDNA microarray Data

NormalizationNormalization

Why? To correct for systematic differences between

samples on the same slide, or between slides, which do not represent true biological variation between samples.

How do we know it is necessary? By examining self-self hybridizations, where

no true differential expression is occurring.

We find dye biases which vary with overall spot intensity, location on the array, plate origin, pins, scanning parameters,….

Page 15: Preprocessing of cDNA microarray Data

Self-self hybridizations

False color overlay Boxplots within pin-groups Scatter (MA-)plots

Page 16: Preprocessing of cDNA microarray Data

From the NCI60 data set (Stanford web site)

A series of non self-self hybridizations

Page 17: Preprocessing of cDNA microarray Data

Early Ngai lab, UC Berkeley

Page 18: Preprocessing of cDNA microarray Data

Early Goodman lab, UC Berkeley

Page 19: Preprocessing of cDNA microarray Data

From the Ernest Gallo Clinic & Research Center

Page 20: Preprocessing of cDNA microarray Data

Early PMCRI, Melbourne Australia

Page 21: Preprocessing of cDNA microarray Data

Normalization: methodsNormalization: methods a) Normalization based on a global adjustment

log2 R/G -> log2 R/G - c = log2 R/(kG)

Choices for k or c = log2k are c = median or mean of log ratios for a particular gene set (e.g. housekeeping genes). Or, total intensity normalization, where k = ∑Ri/ ∑Gi.

b) Intensity-dependent normalization. Here we run a line through the middle of the MA plot, shifting the M

value of the pair (A,M) by c=c(A), i.e.

log2 R/G -> log2 R/G - c (A) = log2 R/(k(A)G). One estimate of c(A) is made using the LOWESS function of

Cleveland (1979): LOcally WEighted Scatterplot Smoothing.

Page 22: Preprocessing of cDNA microarray Data

Normalization: methodsNormalization: methods

c) Within print-tip group normalization. In addition to intensity-dependent variation in log ratios, spatial bias

can also be a significant source of systematic error. Most normalization methods do not correct for spatial effects

produced by hybridization artifacts or print-tip or plate effects during the construction of the microarrays.

It is possible to correct for both print-tip and intensity-dependent bias by performing LOWESS fits to the data within print-tip groups, i.e.

log2 R/G -> log2 R/G - ci(A) = log2 R/(ki(A)G),

where ci(A) is the LOWESS fit to the MA-plot for the ith grid only.

Page 23: Preprocessing of cDNA microarray Data

Which spots to use for normalization?Which spots to use for normalization?

The LOWESS lines can be run through many different sets of points, and each strategy has its own implicit set of assumptions justifying its applicability.

For example, we can justify the use of a global LOWESS

approach by supposing that, when stratified by mRNA abundance, a) only a minority of genes are expected to be differentially expressed, or b) any differential expression is as likely to be up-regulation as down-regulation.

Pin-group LOWESS requires stronger assumptions: that one of

the above applies within each pin-group. The use of other sets of genes, e.g. control or housekeeping

genes, involve similar assumptions.

Page 24: Preprocessing of cDNA microarray Data

Use of control spotsUse of control spots

M = log R/G = logR - logG A = ( logR + logG) /2

Positive controls

(spotted in varying concentrations) Negative controls

blanks

Lowess curve

Page 25: Preprocessing of cDNA microarray Data

Global scale, global lowess, pin-group lowess; spatial plot after, smooth histograms of M after

Page 26: Preprocessing of cDNA microarray Data

MSP titration seriesMSP titration series((Microarray Sample PoolMicroarray Sample Pool))

Control set to aid intensity- dependent normalization

Different concentrations

Spotted evenly spread across the slide

Pool the whole library

Page 27: Preprocessing of cDNA microarray Data

Yellow: GAPDH, tubulin Light blue: MSP pool / titration

Orange: Schadt-Wong rank invariant set Red line: lowess smooth

MSP normalization compared to other methods

Page 28: Preprocessing of cDNA microarray Data

Composite normalizationComposite normalization

Before and after composite normalization

-MSP lowess curve-Global lowess curve-Composite lowess curve(Other colours control spots)

ci(A)=Ag(A)+(1-A)fi(A)

Page 29: Preprocessing of cDNA microarray Data

Comparison of Normalization SchemesComparison of Normalization Schemes(courtesy of Jason Goncalves)(courtesy of Jason Goncalves)

No consensus on best segmentation or normalization method

Scheme was applied to assess the common

normalization methods Based on reciprocal labeling experiment data for a

series of 140 replicate experiments on two different arrays each with 19,200 spots

Page 30: Preprocessing of cDNA microarray Data

DESIGN OF RECIPROCALDESIGN OF RECIPROCALLABELING EXPERIMENTLABELING EXPERIMENT

Replicate experiment in which we assess the same mRNA pools but invert the fluors used.

The replicates are independent experiments and are scanned, quantified and normalized as usual

Page 31: Preprocessing of cDNA microarray Data

2.2/1

21.2/1

2 )(log)(log ExpChCh

GeneAExpChCh

GeneA RatioRatio −=

The following relationship would be observedfor reciprocal microarray experiments in

which the slides are free of defects and the normalization scheme performed ideally

We can measure using real data sets how well each microarray normalization scheme

approaches this ideal

Page 32: Preprocessing of cDNA microarray Data

2.2/1

21.2/1

2 )(log)(log ExpChCh

GeneAExpChCh

GeneASpot RatioRatioDeviation +=

n

RatioRatioDeviation

ExpChCh

GeneNExpChCh

GeneN

n

geArrayAvera

2.2/1

21.2/1

21

)(log)(log +=∑

Deviation metric to assessDeviation metric to assessnormalization schemesnormalization schemes

We now use the mean array average deviation to compare the We now use the mean array average deviation to compare the normalization methods. Note that this comparison addresses only normalization methods. Note that this comparison addresses only variance (precision) and not bias (accuracy) aspects of variance (precision) and not bias (accuracy) aspects of normalization.normalization.

Page 33: Preprocessing of cDNA microarray Data

***

Page 34: Preprocessing of cDNA microarray Data

Scale normalization: between slides

Boxplots of log ratios from 3 replicate self-self hybridizations.Left panel: before normalizationMiddle panel: after within print-tip group normalizationRight panel: after a further between-slide scale normalization.

Page 35: Preprocessing of cDNA microarray Data

The “NCI 60” experiments (no bg)

Some scale normalization seems desirable

Page 36: Preprocessing of cDNA microarray Data

Scale normalization: another data set

Lo

g-r

ati o

s

Only small differences in spread apparent. No action required.

`

Page 37: Preprocessing of cDNA microarray Data

Assumption: All slides have the same spread in M

True log ratio is ij where i represents different slides and j represents different spots.

Observed is Mij, where

Mij = ai ij

Robust estimate of ai is

MADi = medianj { |yij - median(yij) | }

One way of taking scale into accountOne way of taking scale into account

MADi

MADii=1

I∏I

Page 38: Preprocessing of cDNA microarray Data

A slightly harder normalization problemA slightly harder normalization problem

Global lowess doesn’t do the trick here.

Page 39: Preprocessing of cDNA microarray Data

Print-tip-group normalization helpsPrint-tip-group normalization helps

Page 40: Preprocessing of cDNA microarray Data

But not completelyBut not completely

There is still a lot of scatter in the middle in a WT vs KO comparison.

Page 41: Preprocessing of cDNA microarray Data

Effects of previous normalisationEffects of previous normalisation

Before normalisation After print-tip-groupnormalization

Page 42: Preprocessing of cDNA microarray Data

Within print-tip-group box plots of M afterWithin print-tip-group box plots of M afterprint-tip-group normalizationprint-tip-group normalization

Page 43: Preprocessing of cDNA microarray Data

Assumption:

All print-tip-groups have the same spread in M

True log ratio is ij where i represents different print-tip-groups and j represents different spots.

Observed is Mij, where

Mij = ai ij

Robust estimate of ai is

MADi = medianj { |yij - median(yij) | }

Taking scale into account, cont.Taking scale into account, cont.

MADi

MADii=1

I∏I

Page 44: Preprocessing of cDNA microarray Data

Effect of location & scale normalizationEffect of location & scale normalization

Clearly care is needed in making decisions like this one.

Page 45: Preprocessing of cDNA microarray Data

A comparison of three M v A plots

Unnormalized Print-tip normalization Print tip & scale n.

Page 46: Preprocessing of cDNA microarray Data

The same idea on another data setThe same idea on another data set

After print-tip location and scale normalization.

Lo

g-r

ati o

s

Print-tip groups

Page 47: Preprocessing of cDNA microarray Data

Follow-up experiment

On each slide, half the spots (8) are differentially expressed, the other half are not.

Page 48: Preprocessing of cDNA microarray Data

Paired-slides: dye-swapPaired-slides: dye-swap

— Slide 1, M = log2 (R/G) - c

— Slide 2, M’ = log2 (R’/G’) - c’

Combine by subtracting the normalized log-ratios:

[ (log2 (R/G) - c) - (log2 (R’/G’) - c’) ] / 2

[ log2 (R/G) + log2 (G’/R’) ] / 2

[ log2 (RG’/GR’) ] / 2

provided c = c’.

Assumption: the normalization functions are the same for the two slides.

Page 49: Preprocessing of cDNA microarray Data

Checking the assumptionChecking the assumption

MA plot for slides 1 and 2: it isn’t always like this.

Page 50: Preprocessing of cDNA microarray Data

Result of self-normalizationResult of self-normalization

(M - M’)/2 vs. (A + A’)/2

Page 51: Preprocessing of cDNA microarray Data

Summary of normalizationSummary of normalization

— Reduces systematic (not random) effects— Makes it possible to compare several arrays

— Use logratios (M vs A-plots)— Lowess normalization (dye bias)— MSP titration series – composite normalization— Pin-group location normalization— Pin-group scale normalization— Between slide scale normalization

— More? Use controls!— Normalization introduces more variability— Outliers (bad spots) are handled with replication

Page 52: Preprocessing of cDNA microarray Data

What is missing?What is missing? Principally, a discussion of data quality issues. Most image

analysis programs collect a wide range of measurements associated with each spot: morphological measures such as area and perimeter (in pixels), uniformity measures such as the SD of foreground and background intensities in each channel, and of ratios of intensities (with and without background) across the pixels in a spot; and spot brightness indicators such as the ratio of spot foreground to spot background, and the fraction of pixels in the foreground with intensity greater than background intensity (or a given multiple thereof). From these, further derived measures can be calculated, such as coefficients of variation, and so on.

How should we make use of the various quality indicators? Most programs include procedures for flagging spots on the basis of one or more indicators, and users typically omit flagged spots from their primary analyses. “Data filtering” of this kind clearly improves the appearance of the data, but….can we do more? That is a longer story, for another time.

Page 53: Preprocessing of cDNA microarray Data

AcknowledgmentsAcknowledgments

Jean Yee Hwa Yang (UCB)

Sandrine Dudoit (UCB)

Natalie Thorne (WEHI)

Ingrid Lönnstedt (Uppsala)

Henrik Bengtsson (Lund)

Jason Goncalves (Iobion)

Matt Callow (LLNL)

Percy Luu (UCB)

John Ngai (UCB)

Vivian Peng (UCB)

Dave Lin (Cornell)

Page 54: Preprocessing of cDNA microarray Data

Reference: Yang et al (2002) Nucleic Acids Research 30, e15.

Some web sites:

Technical reports, talks, software etc.http://www.stat.berkeley.edu/users/terry/zarray/Html/

Statistical software R (“GNU’s S”) http://www.R-project.org/

Packages within R environment:-- SMA (statistics for microarray analysis) http://www.stat.berkeley.edu

/users/terry/zarray/Software/smacode.html--Spot http://www.cmis.csiro.au/iap/spot.htm