Creates a MassSpectrum object.
This function creates a MassSpectrum
object.
createMassSpectrum(mass, intensity, metaData=list())
mass |
|
intensity |
|
metaData |
|
Returns a MassSpectrum
object.
Sebastian Gibb mail@sebastiangibb.de
## load package library("MALDIquant") ## create a MassSpectrum object by default constructor s <- createMassSpectrum(mass=1:100, intensity=rnorm(100)^2, metaData=list(name="example spectrum")) ## show some details s
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.