com.compomics.util.experiment.quantification
Class QuantificationMatch

java.lang.Object
  extended by com.compomics.util.experiment.personalization.ExperimentObject
      extended by com.compomics.util.experiment.quantification.QuantificationMatch
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
PeptideQuantification, ProteinQuantification, PsmQuantification

public abstract class QuantificationMatch
extends ExperimentObject

Abstract class for a quantification match.

Author:
Marc Vaudel
See Also:
Serialized Form

Nested Class Summary
static class QuantificationMatch.MatchType
          The type of match.
 
Field Summary
protected  java.util.HashMap<java.lang.Integer,Ratio> ratios
          The estimated ratios.
 
Constructor Summary
QuantificationMatch()
           
 
Method Summary
 void addRatio(java.lang.Integer reporterIon, Ratio ratio)
          Adds a new ratio to the ratio map.
abstract  java.lang.String getKey()
          Returns the key of a match.
 java.util.HashMap<java.lang.Integer,Ratio> getRatios()
          Getter for the peptide ratios.
abstract  QuantificationMatch.MatchType getType()
          Returns the type of a match
 void setRatios(java.util.HashMap<java.lang.Integer,Ratio> ratios)
          Sets new peptide ratios.
 
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
 

Field Detail

ratios

protected java.util.HashMap<java.lang.Integer,Ratio> ratios
The estimated ratios.

Constructor Detail

QuantificationMatch

public QuantificationMatch()
Method Detail

getKey

public abstract java.lang.String getKey()
Returns the key of a match.

Returns:
the key of a match

getType

public abstract QuantificationMatch.MatchType getType()
Returns the type of a match

Returns:
the type of a match

setRatios

public void setRatios(java.util.HashMap<java.lang.Integer,Ratio> ratios)
Sets new peptide ratios.

Parameters:
ratios - the new peptide ratios

addRatio

public void addRatio(java.lang.Integer reporterIon,
                     Ratio ratio)
Adds a new ratio to the ratio map.

Parameters:
reporterIon - the index of the reporter ion
ratio - the ratio

getRatios

public java.util.HashMap<java.lang.Integer,Ratio> getRatios()
Getter for the peptide ratios.

Returns:
the peptide ratios


Copyright © 2013. All Rights Reserved.