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

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.ProteinQuantification
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class ProteinQuantification
extends QuantificationMatch

This class models the quantification of a protein.

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
ProteinQuantification(java.lang.String proteinKey)
          Constructor for the protein quantification
ProteinQuantification(java.lang.String proteinKey, java.util.ArrayList<java.lang.String> peptideQuantification)
          Constructor for the protein quantification
ProteinQuantification(java.lang.String proteinKey, java.util.ArrayList<java.lang.String> peptideQuantification, java.util.HashMap<java.lang.Integer,Ratio> proteinRatios)
          Constructor for the protein quantification
 
Method Summary
 void addPeptideQuantification(java.lang.String newPeptideQuantification)
          Adds a new peptide quantification in the protein quantification
 java.lang.String getKey()
          Returns the key of a match.
 java.util.ArrayList<java.lang.String> getPeptideQuantification()
          Getter for the corresponding peptide 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

ProteinQuantification

public ProteinQuantification(java.lang.String proteinKey)
Constructor for the protein quantification

Parameters:
proteinKey - the identified protein match key

ProteinQuantification

public ProteinQuantification(java.lang.String proteinKey,
                             java.util.ArrayList<java.lang.String> peptideQuantification)
Constructor for the protein quantification

Parameters:
proteinKey - the identified protein match key
peptideQuantification - the corresponding peptide quantification

ProteinQuantification

public ProteinQuantification(java.lang.String proteinKey,
                             java.util.ArrayList<java.lang.String> peptideQuantification,
                             java.util.HashMap<java.lang.Integer,Ratio> proteinRatios)
Constructor for the protein quantification

Parameters:
proteinKey - the identified protein match key
proteinRatios - the estimated protein ratios
peptideQuantification - the corresponding peptide quantification
Method Detail

getPeptideQuantification

public java.util.ArrayList<java.lang.String> getPeptideQuantification()
Getter for the corresponding peptide quantification

Returns:
list of peptide quantification

addPeptideQuantification

public void addPeptideQuantification(java.lang.String newPeptideQuantification)
Adds a new peptide quantification in the protein quantification

Parameters:
newPeptideQuantification - the new peptide quantification

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

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.