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

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

public abstract class QuantificationMatch
extends ExperimentObject

abstract class for a quantification match

Author:
marc
See Also:
Serialized Form

Field Summary
protected  HashMap<Integer,Ratio> ratios
          The estimated ratios
 
Constructor Summary
QuantificationMatch()
           
 
Method Summary
 void addRatio(Integer reporterIon, Ratio ratio)
          Adds a new ratio to the ratio map.
abstract  String getKey()
          returns the key of a match
 HashMap<Integer,Ratio> getRatios()
          Getter for the peptide ratios
 void setRatios(HashMap<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 HashMap<Integer,Ratio> ratios
The estimated ratios

Constructor Detail

QuantificationMatch

public QuantificationMatch()
Method Detail

getKey

public abstract String getKey()
returns the key of a match

Returns:
the key of a match

setRatios

public void setRatios(HashMap<Integer,Ratio> ratios)
sets new peptide ratios

Parameters:
ratios - the new peptide ratios

addRatio

public void addRatio(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 HashMap<Integer,Ratio> getRatios()
Getter for the peptide ratios

Returns:
the peptide ratios


Copyright © 2012. All Rights Reserved.