## MassSpectrum
setMethod(f="isRegular",
signature=signature(object="MassSpectrum"),
definition=function(object, threshold=1e-3) {
s <- .irregularScore(object@mass) <= threshold
!is.na(s) & s
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.