com.compomics.util.experiment.quantification.reporterion.quantification
Class PsmQuantification

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.quantification.reporterion.QuantificationMatch
          extended by com.compomics.util.experiment.quantification.reporterion.quantification.PsmQuantification
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class PsmQuantification
extends QuantificationMatch

This class models the quantification at the MS2 spectrum level.

Author:
Marc Vaudel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.compomics.util.experiment.quantification.reporterion.QuantificationMatch
ratios
 
Constructor Summary
PsmQuantification(java.lang.String spectrumKey, java.lang.String spectrumMatchKey)
          Constructor for a spectrumQuantification
 
Method Summary
 void addIonMatch(int reporterIndex, IonMatch match)
          Method to add a match between a peak and a reporter ion
 java.util.HashMap<java.lang.Integer,java.lang.Double> getDeisotopedIntensities()
          returns the deisotoped intensities
 java.lang.String getKey()
          returns the key of a match
 java.util.HashMap<java.lang.Integer,IonMatch> getReporterMatches()
          Getter for the reporter matches
 java.lang.String getSpectrumMatchKey()
          Getter for the key of the spectrum match
 void setDeisotopedIntensities(java.util.HashMap<java.lang.Integer,java.lang.Double> deisotopedIntensities)
          Sets the deisotoped intensities
 
Methods inherited from class com.compomics.util.experiment.quantification.reporterion.QuantificationMatch
addRatio, getRatios, setRatios
 
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, getParameterKey, getUrParam
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PsmQuantification

public PsmQuantification(java.lang.String spectrumKey,
                         java.lang.String spectrumMatchKey)
Constructor for a spectrumQuantification

Parameters:
spectrumKey - the corresponding spectrum key
spectrumMatchKey - the corresponding spectrum match key
Method Detail

addIonMatch

public void addIonMatch(int reporterIndex,
                        IonMatch match)
Method to add a match between a peak and a reporter ion

Parameters:
reporterIndex - static index of the reporter ion
match - The corresponding ion match

getKey

public java.lang.String getKey()
Description copied from class: QuantificationMatch
returns the key of a match

Specified by:
getKey in class QuantificationMatch
Returns:
the key of a match

getSpectrumMatchKey

public java.lang.String getSpectrumMatchKey()
Getter for the key of the spectrum match

Returns:
the key of the spectrum match

getReporterMatches

public java.util.HashMap<java.lang.Integer,IonMatch> getReporterMatches()
Getter for the reporter matches

Returns:
matches between reporters and peaks

getDeisotopedIntensities

public java.util.HashMap<java.lang.Integer,java.lang.Double> getDeisotopedIntensities()
returns the deisotoped intensities

Returns:
the deisotoped intensities

setDeisotopedIntensities

public void setDeisotopedIntensities(java.util.HashMap<java.lang.Integer,java.lang.Double> deisotopedIntensities)
Sets the deisotoped intensities

Parameters:
deisotopedIntensities - the deisotoped intensities


Copyright © 2012. All Rights Reserved.