Description Usage Arguments Examples
An add Spec to library function This function recieves a library object created by the CreateLibFromMGF function and a spectrum which is to be added to the library. It returns library with the new spectrum added.
1 2 | addSpecToLibrary(library, Spec, D_MS = 0.04, D_MSMS = 0.04,
MIN_PEAK_COUNT = 5)
|
library |
A spectral library for Spectrum addition |
Spec |
A spectrum to be added to library. A single entity for an MGF object. |
D_MS |
a maximal difference between precoursor masses of two spectra for them to be considered the same. Defaults to 0.04. |
D_MSMS |
a maximal difference between fragmentation spectra peaks' masses from them to be considered the same. Delaults to 0.04. |
MIN_PEAK_COUNT |
a minimal number of correlating peaks between two spactra for them to be consideredd the same. Defaults to 5. |
1 | library1<-addSpecToLibrary(library1,mgf1[100])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.