## load library
library("MALDIquant");
## create example matrix
m <- matrix(c(1, 2, 3,
3, 6, 9),
nrow=2, byrow=TRUE, dimnames=list(paste("samples", 1:2, sep=""),
paste("peaks", LETTERS[1:3])));
## show matrix
m
## show calibrated matrix
calibrate(m);Run the code above in your browser using DataLab