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

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

public class PeptideQuantification
extends QuantificationMatch

This class models quantification of a peptide.

Author:
Marc Vaudel
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.compomics.util.experiment.quantification.QuantificationMatch
QuantificationMatch.MatchType
 
Field Summary
 
Fields inherited from class com.compomics.util.experiment.quantification.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
 QuantificationMatch.MatchType getType()
          Returns the type of a match
 
Methods inherited from class com.compomics.util.experiment.quantification.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

getType

public QuantificationMatch.MatchType getType()
Description copied from class: QuantificationMatch
Returns the type of a match

Specified by:
getType in class QuantificationMatch
Returns:
the type of a match


Copyright © 2013. All Rights Reserved.