inst/unitTests/runit.monoisotopic.R

test.monoisotopicMasses <- function() {
  elem <- initializePSE()
  all(sapply(elem, function(x) {x$mass == as.integer(getMolecule(x$name, elem)$exactmass)}))
  
}

Try the Rdisop package in your browser

Any scripts or data that you put into this service are public.

Rdisop documentation built on Nov. 8, 2020, 5:40 p.m.