Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Metabolomics: an interpreting tool to understand kidney graft recipients grouping and their recovery trajectory
1. Metabolomics: an interpreting tool to
understand kidney graft recipients
grouping and their recovery trajectory
Marco Calderisi, PhD
m.calderisi@kode-solutions.net
Italian BioR Day
Lodi 30 Novembre 2012
Italian BioR Day
Lodi 30 Novembre 2012
3. Aim
Kidney graft recipients
monitoring
immunological rejection
ischemia/reperfusion injury
immunosuppressant nephrotoxicity
Italian BioR Day
Lodi 30 Novembre 2012 2/36
4. How
Urine samples +
1H-NMR +
Chemometrics =
Metabolomics
Italian BioR Day
Lodi 30 Novembre 2012 3/36
5. Metabolomics
Determination of multiple metabolites in biofluids
and tissues and their changes over time
Instrumentation: NMR, MS, GC/MS, HPLC/MS
Italian BioR Day
Lodi 30 Novembre 2012 4/36
9. Data Import
Matlab
save datiperR.mat data asseX '-v6'
require(R.matlab)
aa <- readMat('datiperR.mat')
dati <- aa$data
dati <- t(dati)
asseX <- aa$asseX
Italian BioR Day
Lodi 30 Novembre 2012 7/36
10. Data Analysis
Preprocessing
and
pretreatment
Exploration
Modelling
Italian BioR Day
Lodi 30 Novembre 2012 8/36
11. Preprocessing + Pretreatment
baseline and phase correction,
referencing to internal standard,
signals alignment
normalization
centering
scaling
other transformations
Italian BioR Day
Lodi 30 Novembre 2012 9/36
12. Preprocessing + Pretreatment
ptw, dtw, xcms -> MS or LC spectra
PROcess -> protein mass spectrometry
peak peaking
binning, TMS alignment
Italian BioR Day
Lodi 30 Novembre 2012 10/36
13. Preprocessing + Pretreatment
TMS peaks before and after alignment
...with icoshift...
Italian BioR Day
Lodi 30 Novembre 2012 11/36
14. Preprocessing + Pretreatment
binning
# 10 points binnings
ynew <- colMeans(matrix(dati[1,1:32760], nrow = 10))
xnew <- colMeans(matrix(asseX[1:32760], nrow = 10))
# plot
plot(asseX[1:32760], dati[1, 1:32760], type = "l", xlab
= "asseX ", ylab = "response", main = "binning", col
= "red", ylim=c(0,10^8))
lines(xnew, ynew)
Italian BioR Day
Lodi 30 Novembre 2012 12/36
25. Exploration + Modelling
15 patients were sampled all along the
hospital recovery period (from 5 to 40
days) and during the first follow up
systematic sampling (one sample a day)
Italian BioR Day
Lodi 30 Novembre 2012 23/36
27. Exploration + Modelling
PCA
Pareto scaling
3 patients
Follow-up
Post-operation
Pre-discharge
Italian BioR Day
Lodi 30 Novembre 2012 25/36
28. Exploration + Modelling
PCA
Pareto scaling
15 patients
Follow-up
Post-operation
Pre-discharge
Italian BioR Day
Lodi 30 Novembre 2012 26/36
29. Exploration + Modelling
require(ChemometricsWithR)
mod <- PCA(dati.p)
figura1a <- scores(mod)
plot(figura1a[,2], figura1a[,3], xlab ='PC 1 (exp. var. 13.96%)',
ylab = 'PC 2 (exp. var. 9.88%)', xaxt="n", yaxt="n", mgp=c(2.5, 1,
0), cex.lab = 1, type = 'n')
axis(1, at=seq(-1,1,0.25), lwd = 0, lwd.ticks = 1, tcl = 0.2,
cex.axis=1, mgp=c(1.5, 0.5, 0))
axis(2, at=seq(-1,1,0.25), lwd = 0, lwd.ticks = 1, tcl = 0.2,
cex.axis=1, las = 2, mgp=c(1.5, 0.5, 0))
points(figura1a[,2], figura1a[,3], pch=as.numeric(figura1a[,1]),
cex=0.8)
abline(v=0, h=0, col='grey', lty = 2)
Italian BioR Day
Lodi 30 Novembre 2012 27/36
30. Exploration + Modelling
PLS-DA analysis
one class vs one class
Modelled class: 1 2 3
Calibration Sensitivity 0.96 0.88 0.91
Specificity 1 0.9 0.96
Class. Err 0.02 0.11 0.07
Cross Validation Sensitivity 0.94 0.86 0.91
Specificity 1 0.83 0.92
Class. Err 0.03 0.15 0.08
Italian BioR Day
Lodi 30 Novembre 2012 28/36
31. Exploration + Modelling
Post operation stage.
The creatinine and creatine signals are
rather low and there is a lipoprotein signal
Italian BioR Day
Lodi 30 Novembre 2012 29/36
32. Exploration + Modelling
Pre discharge stage.
Creatinine and creatine signals pretty high
and lipoprotein signal almost disappeared
Italian BioR Day
Lodi 30 Novembre 2012 30/36
33. Exploration + Modelling
Follow up stage.
The creatinine and creatine signals are very
intense
Italian BioR Day
Lodi 30 Novembre 2012 31/36
35. Exploration + Modelling
require(pls) // do.pls
short command: mod <- do.pls(x,y)
extensive command: mod <- do.pls(x,y, ncomp, scale=c("mean",
"autoscaling"), graph=c("line", "points"))
aim: to do a pls regression analysis with just one “click”
http://cran.r-project.org/web/packages/pls/
http://mevik.net/work/software/pls.html
Italian BioR Day
Lodi 30 Novembre 2012 33/36
36. Exploration + Modelling
Input:
• x is the predictor matrix
• y is the response variable
• ncomp it is the requested number of latent variables (optional).
The default is the LV’s number corresponding to the lowest
RMSECV(*)
• scale: choose between mean centering (default) and autoscaling
• graph it is the plot layout: choose between points or line for
predictors plot (optional).
(*) only Leave-One-Out CV procedure it is implemented
Italian BioR Day
Lodi 30 Novembre 2012 34/36
37. Exploration + Modelling
Output:
it is a list.
• modello, it is the usual mvr output
• performance, explained variance for predictors and response
variable, RMSE, RMSECV, number of latent variables selected)
• VIP
• coefficients
Italian BioR Day
Lodi 30 Novembre 2012 35/36