isIsotopologue() returns TRUE for labels of heavy isotopologues
("[3][M+1]+", "[3][M+2]-") and FALSE for monoisotopic peaks
("[3][M]+"), adduct labels such as "[M+H]+", and "".
Arguments
- x
characterwith isotope labels as written byannotateIsotopes()or CAMERA.
Examples
isIsotopologue(c("[1][M]+", "[1][M+1]+", "[M+H]+", ""))
#> [1] FALSE TRUE FALSE FALSE