This function checks if the sum up of the chains structure match the precursor structure. It is used by combineChains.
select(chains, parent, n)
Logical value
character value containing chains structure separated by a white space.
precursor ion structure
number of chains
M Isabel Alcoriza-Balaguer <maialba@alumni.uv.es>