Description Usage Arguments Details Value Author(s) Examples
Given x-coordinates of mass or m/z, and the y of peak intensities, it generates the points of Gaussian distributsions around the peaks for ploting the spectrum.
1 | generatePseudoGaussianSpectrum(x, y, sd=5L, xlim=range(x), step = 1L)
|
x |
|
y |
|
sd |
|
xlim |
|
step |
|
For each pair of x and y, we generate the Gaussian distribution with x
as mean, y
as the height, sd
as the standard deviation.
A data.frame
of x values and y values for plotting the spectrum.
Yang Yang
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.