createMassSpectrum | R Documentation |
This function creates a MassSpectrum
object.
createMassSpectrum(mass, intensity, metaData=list())
mass |
|
intensity |
|
metaData |
|
Returns a MassSpectrum
object.
Sebastian Gibb mail@sebastiangibb.de
MassSpectrum
Website: https://strimmerlab.github.io/software/maldiquant/
## 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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.