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

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.PeptideQuantification
All Implemented Interfaces:
Serializable, Cloneable

public class PeptideQuantification
extends QuantificationMatch

This class models quantification at the peptide level.

Author:
Marc Vaudel
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.compomics.util.experiment.quantification.reporterion.QuantificationMatch
ratios
 
Constructor Summary
PeptideQuantification(String peptideKey)
          Constructor for the peptide quantification
PeptideQuantification(String peptideKey, ArrayList<String> psmQuantification)
          Constructor for the peptide quantification
PeptideQuantification(String peptideKey, ArrayList<String> psmQuantification, HashMap<Integer,Ratio> ratios)
          Constructor for the peptide quantification
 
Method Summary
 void addPsmQuantification(String newPsmQuantification)
          Adds a new psm quantification in the psm quantification map
 String getKey()
          returns the key of a match
 ArrayList<String> getPsmQuantification()
          Getter for the corresponding spectrum quantification
 
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

PeptideQuantification

public PeptideQuantification(String peptideKey)
Constructor for the peptide quantification

Parameters:
peptideKey - the key of the identification peptide match

PeptideQuantification

public PeptideQuantification(String peptideKey,
                             ArrayList<String> psmQuantification)
Constructor for the peptide quantification

Parameters:
peptideKey - the key of the identification peptide match
psmQuantification - the corresponding spectrum quantification

PeptideQuantification

public PeptideQuantification(String peptideKey,
                             ArrayList<String> psmQuantification,
                             HashMap<Integer,Ratio> ratios)
Constructor for the peptide quantification

Parameters:
peptideKey - the identification peptide match
psmQuantification - the corresponding spectrum quantification
ratios - the estimated ratios
Method Detail

getPsmQuantification

public ArrayList<String> getPsmQuantification()
Getter for the corresponding spectrum quantification

Returns:
List of spectrum quantification

addPsmQuantification

public void addPsmQuantification(String newPsmQuantification)
Adds a new psm quantification in the psm quantification map

Parameters:
newPsmQuantification - the new psm quantification

getKey

public 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


Copyright © 2012. All Rights Reserved.