AllPeaksAndGroupsByName(string)

Scope:

Sequence

Injection

Parameters:

pattern as a string

Description:

Returns the list of all identified peaks and timed groups with a given name of current scope (can use wildcards).

Syntax:

AllPeaksAndGroupsByName(pattern as a string) as a list

Example:

Sum("Compound_Amount",CurrentSequence.AllPeaksAndGroupsByName("Phenyl*")) returns the total amount of all compounds whose name starts with 'Phenyl' in the current sequence.

Returned scope:

List of peaks or groups