powered by
For each column in a matrix representing mass spectra, generates a sub-plot
plotS(S, x2, out="", filename=paste("S.", out, sep = ""), col=vector(),cex=1, lab="",cex.lab=1)
matrix representing mass spectra of dimension n by comp where comp is the number of spectra
n
comp
vector of masses that label the rows of S
S
if "", the plot is written to the current device; if "ps" a postscript file is written and if "pdf" then a pdf file is written
""
"pdf"
character vector specifying the name of the file to write if out=TRUE
out=TRUE
if length is greater than zero, then the color to plot each spectrum
cex A numerical value giving the amount by which plotting text and symbols should be magnified relative to the default.
cex
cex.lab A character vector used as y-axis label.
cex.lab
cex.lab A numerical value giving magnification to be used for x and y labels relative to the default.
Katharine M. Mullen
als
## load example mass spectra S and vector of m/z values x2 data(multiex) plotS(S,x2)
Run the code above in your browser using DataLab