Docsity

Recent Tools for Preprocessing Mass Spectrometry Data | STAT 5570, Study notes of Statistics

Partial preview of the text

Download Recent Tools for Preprocessing Mass Spectrometry Data | STAT 5570 and more Study notes Statistics in PDF only on Docsity!

Utah State University – Spring 2009STAT 5570: Statistical Bioinformatics

Notes 5.

Recent Tools for Preprocessing

Mass Spectrometry Data

Outline

^ Introduction to Mass Spectrometry ^ Issues in Preprocessing ^ Recent Software Tools ^ Sample Analysis ^ Misc. Notes

SELDI-TOF ^ Surface-enhanced laser desorption and ionization ^ Special case of MALDI ^ Ciphergen (Bio-Rad) ProteinChip: eight-spot array ^ Surface of metal plate chemically modified to favorparticular classes of proteins^ (Coombes et al. 2007; Tibshirani et al. 2004; image from www.pasteur.fr)

SELDI ProteinChip Technology ^ Within narrow time intervals (1-4 nanoseconds), detectorrecords the number of particles: time of flight ^ Animation^ www.learner.org/channel/courses/biology/archive/animations/hires/a_proteo3_h.html (Coombes et al. 2007; Tibshirani et al. 2004; image from Yasui et al. 2003)

^ Each molecule has a mass (m) and a charge (z) ^ The m/z ratio affects the molecule’s velocity in theflight tube, and consequently its time of flight t ^ Based on the law of energy conservation: ^ Parameters t

,^ α 0

, and

β^ estimated using

Mass-to-charge (m/z) ratio[instrument-specific] calibration data;V is electronvolt unit of energy

(^

α^

=^

2 t 0

tV

m z

(Dijkstra 2008)

Sample spectra 0 5000

10000

20000

30000

14000 10000 6000 2000

Spectrum^ m/z

Intensity

1000

1200

1400

1600

1800

2000

14000 12000 10000 8000

Partial Spectrum

m/z

Intensity

Preprocessing Issues ^ Calibration ^ Filtering / Denoise Spectra ^ Detrend / Remove Baseline from Spectra ^ Normalization of Multiple Spectra ^ Peak Detection ^ Peak Alignment ^ Peak Quantification^ (Coombes et al. 2007)

Calibration ^ Mapping observed time-of-flight to m/z values ^ Experimentally:^ 

create a sample containing a small number of [mass known]proteins  obtain spectrum from sample using the mass spectrometryinstrument

^ Parameters t

,^ α, and 0

β^ estimated using [instrument-

specific] calibration data:  Also refers to finding common m/z values for multiplespectra (msPrepare function uses linear interpolation) (Dijkstra 2008; Coombes et al. 2007; Morris et al. 2005)

(^

α^

=^

2 t 0

tV

m z

Sample Data and Code ^ Reproducibility of results in these slides ^ R code included in these slides ^ R Package msBreast: dataset of 96 protein massspectra generated from a pooled sample of nippleaspirate fluid (NAF) from healthy breasts andbreasts with cancer ^ Observations with m/z below 950 eliminated^ 

just noise from matrix molecules  these observations can be just saturation (too manyions hitting the detector so it can’t count them)

(Coombes et al. 2003; Coombes et al. 2005)

Sample Data Format library(msProcess)#^ load

sample

data

data(Breast2003QC,

package="msBreast")

z^ <-

Breast2003QC #^ look

at^

this class(z)

#^

"msSet"

names(z)

#^

"mz"

"intensity"

"type"

class(z$mz)

#^ "numeric"

length(z$mz)

#^15466

class(z$intensity)

#^ "matrix"

dim(z$intensity)

#^15466

class(z$type)

#^ "factor"

length(z$type)

#^

^ An msSet object with a numeric vector of m/z values, a factorvector of spectra types, and a numeric matrix of intensities :^ 

columns: 96 samples (spectra)  rows: 15466 m/z values

Visualize

two

spectra

par(mfrow=c(2,2))sub^

<-^5

plot(z$mz,z$intensity[,sub],xlab='m/z',ylab='Intensity',type='l',col='red',lwd=2,lty=1,main='Spectrum

t^ <-

z$mz

>^950

&^ z$mz

<^2000

plot(z$mz[t],z$intensity[t,sub],xlab='m/z',ylab='Intensity',type='l',col='red',lwd=2,lty=1,main='Partial

Spectrum

sub^

<-^50

plot(z$mz,z$intensity[,sub],xlab='m/z',ylab='Intensity',type='l',col='red',lwd=2,lty=1,main='Spectrum

t^ <-

z$mz

>^950

&^ z$mz

<^2000

plot(z$mz[t],z$intensity[t,sub],xlab='m/z',ylab='Intensity',type='l',col='red',lwd=2,lty=1,main='Partial

Spectrum

Filtering / Denoising Spectra ^ Spectra contains random noise^ 

Technical sources of variability^ ^ chemical^ ^ electronic  Remove by smoothing spectra

^ Smoothing options:^ 

Wavelet shrinkage (default)  Multiresolution decomposition  Robust running median

(Coombes et al. 2007)

Denoising;

sec.

z1^ <-

msDenoise(z)

#^ default:

FUN="wavelet"

z1.mrd

<-^

msDenoise(z,FUN="mrd") z1.smooth

<-^

msDenoise(z,FUN="smooth")

##^ Visualize

the

denoising

par(mfrow=c(1,1),cex=1.5)t^ <-

z$mz

>^1190

&^ z$mz

<^1225

sub^

<-^5

plot(z1$mz[t],z1$intensity[t,sub],xlab='m/z',ylab='Intensity',type='l',col='darkred',lwd=2.5,lty=2,main='Denoising

Options')

points(z$mz[t],z$intensity[t,sub],pch=16,cex=1,col='black')lines(z$mz[t],z$intensity[t,sub],lty=1,col='black',lwd=2)lines(z1.smooth$mz[t],z1.smooth$intensity[t,sub],col='darkblue',lty=3,lwd=2.5)#lines(z1.mrd$mz[t],z1.mrd$intensity[t,sub],col='orange',lty=4,#^ lwd=2)legend(x=1190,y=10260,c('original','denoise

-^ wavelet

shrinkage',

'denoise

-^ robust

running

median'),

col=c('black','darkred','darkblue'),lty=c(1,2,3),bty='n',lwd=2,cex=.8)

Denoising – what do options do? ^ Wavelet shrinkage – discrete wavelet transform^ 

calculate DWT  shrink wavelet coefficients(calculated noise threshold and specified shrinkage function )  invert the DWT to get denoised version of series

^ Multiresolution decomposition (noise

≈^ 0 here)

^ calculate DWT ^ invert components ^ sum ‘non-noisy’ components  Robust running median ^ Tukey’s 3RS3R:^ ^

repeat running medians of length 3 to convergence  split horizontal stretches of length 2 or 3  repeat running medians of length 3 to convergence

^ ‘twiced’: add smoothed residuals to the smoothed values