ind.pk | R Documentation |
return index of peaks
ind.pk(ms, mode = c("max", "exact", "all"), L = sp)
ms |
the mass of the peak |
mode |
a character. Specifies whether the returned index is the exact peak (exact), the maximum peak (max) or all peaks (all) related to a unit mass. |
L |
sp |
a numeric vector
# For get the index for one peak :
# ind.pk(137)
# [1] 318
# Or for more :
# sapply(c(81,137,205),ind.pk)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.