C# Class ImsInformed.Targets.IonizationMethodUtilities

The ionization method extensions.
Mostra file Open project: PNNL-Comp-Mass-Spec/IMS-Informed-Library

Public Methods

Method Description
GetAll ( ) : IEnumerable

The get all.

GetChargeState ( this ionizationMethod ) : int

The get charge state.

GetComposition ( this method ) : InformedProteomics.Backend.Data.Composition.Composition

Get the

GetMassAductSign ( this ionizationMethod ) : int

The get mass aduct sign.

ParseIonizationMethod ( string ionizationMethod ) : IonizationMethod

The parse ionization method.

ToAdduct ( this ionizationMethod, int multiplier = 1 ) : IonizationAdduct

Convert the ionization method to adduct, which is more generic.

ToFriendlyString ( this ionizationMethod ) : string

The to friendly string.

Method Details

GetAll() public static method

The get all.
public static GetAll ( ) : IEnumerable
return IEnumerable

GetChargeState() public static method

The get charge state.
public static GetChargeState ( this ionizationMethod ) : int
ionizationMethod this /// The ionization method. ///
return int

GetComposition() public static method

Get the
public static GetComposition ( this method ) : InformedProteomics.Backend.Data.Composition.Composition
method this /// The method. ///
return InformedProteomics.Backend.Data.Composition.Composition

GetMassAductSign() public static method

The get mass aduct sign.
public static GetMassAductSign ( this ionizationMethod ) : int
ionizationMethod this /// The ionization method. ///
return int

ParseIonizationMethod() public static method

The parse ionization method.
///
public static ParseIonizationMethod ( string ionizationMethod ) : IonizationMethod
ionizationMethod string /// user input for ionization method ///
return IonizationMethod

ToAdduct() public static method

Convert the ionization method to adduct, which is more generic.
public static ToAdduct ( this ionizationMethod, int multiplier = 1 ) : IonizationAdduct
ionizationMethod this /// The ionization method. ///
multiplier int /// The multiplier. ///
return IonizationAdduct

ToFriendlyString() public static method

The to friendly string.
///
public static ToFriendlyString ( this ionizationMethod ) : string
ionizationMethod this /// The ionization method. ///
return string