Creates a MassPeaks object.
This function creates a MassPeaks
object. Normally it
shouldn't called by the user. Try
detectPeaks,MassSpectrum-method
instead.
createMassPeaks(mass, intensity, snr=rep.int(NA_real_, length(intensity)), metaData=list())
mass |
|
intensity |
|
snr |
|
metaData |
|
Returns a MassPeaks
object.
Sebastian Gibb mail@sebastiangibb.de
## load package library("MALDIquant") ## create a MassPeaks object by default constructor s <- createMassPeaks(mass=1:100, intensity=rnorm(100)^2, metaData=list(name="example peaks")) ## show some details s
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.