C# Class ImsInformed.Scoring.FeatureScoreUtilities

The feature score.
Datei anzeigen Open project: PNNL-Comp-Mass-Spec/IMS-Informed-Library

Public Methods

Method Description
AddFeatureScores ( PeakScores a, PeakScores b ) : PeakScores

The sum feature scores.

AverageFeatureStatistics ( IEnumerable scoreHolders ) : PeakScores

The average feature scores.

IntensityScore ( StandardImsPeak featurePeak, double globalMaxIntensity ) : double

The intensity score.

IsotopicProfileScore ( StandardImsPeak imsPeak, DataReader reader, IImsTarget target, List isotopicPeakList, VoltageGroup voltageGroup, IsotopicScoreMethod selectedMethod, double globalMaxIntensities, double totalScans ) : double

The score feature using isotopic profile.

PeakShapeScore ( StandardImsPeak imsPeak, DataReader reader, double massToleranceInPpm, double driftTimeToleranceInMs, VoltageGroup voltageGroup, double globalMaxIntensities, int numberOfScans ) : double

The Peak shape score. Evaluating how "good" the peak looks. A good peak shape score indicates that the peak is not a result of noise or instrument errors. Mostly the feature intensity along is sufficient to exclude noise but a good shape score helps evaluating the experiment and thus the reliability of the data analysis result.

ScoreFeature ( this peak, double globalMaxIntensity, DataReader uimfReader, double massToleranceInPpm, double driftTimeToleranceInMs, VoltageGroup voltageGroup, int voltageGroupScans, IImsTarget target, IsotopicScoreMethod isotopicScoreMethod, List theoreticalIsotopicProfile ) : PeakScores

The score feature.

Private Methods

Method Description
BhattacharyyaDistance ( List observedIsotopicPeakList, List expectedIsotopicPeakList ) : double

The bhattacharyya distance.

EuclideanAlternative ( List observedIsotopicPeakList, List expectedIsotopicPeakList ) : double

The bhattacharyya distance.

IsotopicProfileScoreAngle ( List observedIsotopicPeakList, List expectedIsotopicPeakList ) : double

The isotopic profile score angle.

IsotopicProfileScoreEuclidean ( List observedIsotopicPeakList, List expectedIsotopicPeakList ) : double

The score feature using isotopic profile.

PearsonCorrelation ( List observedIsotopicPeakList, List expectedIsotopicPeakList ) : double

The pearson correlation.

Method Details

AddFeatureScores() public static method

The sum feature scores.
public static AddFeatureScores ( PeakScores a, PeakScores b ) : PeakScores
a PeakScores /// The a. ///
b PeakScores /// The b. ///
return PeakScores

AverageFeatureStatistics() public static method

The average feature scores.
public static AverageFeatureStatistics ( IEnumerable scoreHolders ) : PeakScores
scoreHolders IEnumerable /// The score holders. ///
return PeakScores

IntensityScore() public static method

The intensity score.
public static IntensityScore ( StandardImsPeak featurePeak, double globalMaxIntensity ) : double
featurePeak StandardImsPeak /// The feature blob. ///
globalMaxIntensity double /// The global Max Intensity. ///
return double

IsotopicProfileScore() public static method

The score feature using isotopic profile.
///
public static IsotopicProfileScore ( StandardImsPeak imsPeak, DataReader reader, IImsTarget target, List isotopicPeakList, VoltageGroup voltageGroup, IsotopicScoreMethod selectedMethod, double globalMaxIntensities, double totalScans ) : double
imsPeak StandardImsPeak /// The ims Peak. ///
reader DataReader /// The reader. ///
target IImsTarget /// The Target. ///
isotopicPeakList List /// The isotopic peak list. ///
voltageGroup VoltageGroup /// The voltage Group. ///
selectedMethod IsotopicScoreMethod /// The selected Method. ///
globalMaxIntensities double ///
totalScans double
return double

PeakShapeScore() public static method

The Peak shape score. Evaluating how "good" the peak looks. A good peak shape score indicates that the peak is not a result of noise or instrument errors. Mostly the feature intensity along is sufficient to exclude noise but a good shape score helps evaluating the experiment and thus the reliability of the data analysis result.
public static PeakShapeScore ( StandardImsPeak imsPeak, DataReader reader, double massToleranceInPpm, double driftTimeToleranceInMs, VoltageGroup voltageGroup, double globalMaxIntensities, int numberOfScans ) : double
imsPeak StandardImsPeak /// The imsPeak. ///
reader DataReader /// The reader. ///
massToleranceInPpm double /// The mass Tolerance In Ppm. ///
driftTimeToleranceInMs double /// The drift Time Tolerance In Scans. ///
voltageGroup VoltageGroup /// The voltage group. ///
globalMaxIntensities double /// The global Max Intensities. ///
numberOfScans int /// The number Of Scans. ///
return double

ScoreFeature() public static method

The score feature.
public static ScoreFeature ( this peak, double globalMaxIntensity, DataReader uimfReader, double massToleranceInPpm, double driftTimeToleranceInMs, VoltageGroup voltageGroup, int voltageGroupScans, IImsTarget target, IsotopicScoreMethod isotopicScoreMethod, List theoreticalIsotopicProfile ) : PeakScores
peak this /// The peak. ///
globalMaxIntensity double /// The global max intensity. ///
uimfReader DataReader /// The uimf reader. ///
massToleranceInPpm double /// The mass tolerance in ppm. ///
driftTimeToleranceInMs double /// The drift time tolerance in ms. ///
voltageGroup VoltageGroup /// The voltage group. ///
voltageGroupScans int /// The voltage group scans. ///
target IImsTarget /// The target. ///
isotopicScoreMethod IsotopicScoreMethod /// The isotopic score method. ///
theoreticalIsotopicProfile List /// The theoretical isotopic profile. ///
return PeakScores