View source: R/molform_functions.R
calculate_iso_profile | R Documentation |
Generates an isotope profile using isopat or Rdisop
calculate_iso_profile(
molform,
algorithm = "Rdisop",
min_abundance = 1,
limit = 0.001
)
molform |
An object of the as.molform class |
algorithm |
"isopat" uses the isopat package to calculate isotopes, while "Rdisop" uses the Rdisop package. Though more accurate, Rdisop has been known to crash on Windows computers when called iteratively more than 1000 times. Default is Rdisop, though isopat is an alternative. |
min_abundance |
Minimum abundance for calculating isotopes. Default is 1. |
limit |
See ?isopat::isopattern for more details. 0.001 appears to calculate enough isotopes. |
## Not run:
calculate_iso_profile(molform = as.molform("H389C259N65O63S2"), min_abundance = 1)
calculate_iso_profile(molform = as.molform("H389C259N65O63S2"), algorithm = "isopat", min_abundance = 1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.