| IsoSpecify | R Documentation |
IsoSpecify is a wrapper around Rinterface that calls the C++ implementation of the IsoSpec algorithm. Given a molecular formula, it will calculate the smallest set of infinitely resolved peaks (isotopologues) that jointly is p probable, where p is provided by the user.
IsoSpecify(
molecule,
stopCondition,
isotopes = NULL,
showCounts = FALSE,
trim = TRUE,
algo = 0,
step = 0.25,
charge = 1
)
molecule |
A named integer vector, e.g. |
stopCondition |
A numeric value between 0 and 1. |
isotopes |
A named list of isotopic information required for IsoSpec. The names must be valid element symbols, see |
showCounts |
Logical. If |
trim |
Logical. If |
algo |
An integer: 0 - use standard IsoSpec algoritm,
where |
step |
The percent of the the percentile of isotopologues in the current isolayer, specyfying the cutoff for the next isolayer. It has been optimised and better not change the default value. |
charge |
The charge state of the molecule. All masses will be divided by this to obtain m/z values. |
A numeric matrix containing the masses, the logarithms of probability, and, optionally, counts of isotopologues. Attention: this matrix does not have to be sorted. Sorting it would also compromise the linear complexity of our algorithm.
library(IsoSpecR)
res <- IsoSpecify( molecule = c(C=10,H=22,O=1), stopCondition = .9999 )
print(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.