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

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

public class ProteinQuantification
extends QuantificationMatch

This class models the quantification results for a protein match. User: Marc Date: Sep 1, 2010 Time: 3:31:25 PM

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.compomics.util.experiment.quantification.reporterion.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
 
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

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


Copyright © 2012. All Rights Reserved.