TopIons

Scope:

MS spectrum

Parameters:

count as integer

Description:

Returns a given number of top ions for the spectrum

Syntax:

TopIons(count as integer)

Example:

CurrentPeakOrGroup.AllMsSpectra.First().TopIons(3).Select(function (item) item.ToString()).Aggregate(function(a, b) a + ", " + b) returns the first 3 max top ions in a string.

Returned scope:

List of ions