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

java.lang.Object
  extended by com.compomics.util.experiment.quantification.reporterion.CorrectionFactor

public class CorrectionFactor
extends java.lang.Object

This class models the isotope correction factors given by the labels constructor. User: Marc Date: Sep 29, 2010 Time: 5:35:27 PM


Constructor Summary
CorrectionFactor(int ionId, double minus2, double minus1, double plus1, double plus2)
          Constructor for the correction factor
 
Method Summary
 int getIonId()
          returns the reporter ion id
 double getMinus1()
          returns the reporter ion -1 Da amount
 double getMinus2()
          returns the reporter ion -2 Da amount
 double getPlus1()
          returns the reporter ion +1 Da amount
 double getPlus2()
          returns the reporter ion +2 Da amount
 void setIonId(int ionId)
          Sets the reporter ion id
 void setMinus1(double minus1)
          Sets the reporter ion -1 Da amount
 void setMinus2(double minus2)
          Sets the reporter ion -2 Da amount
 void setPlus1(double plus1)
          Sets the reporter ion +1 Da amount
 void setPlus2(double plus2)
          Sets the reporter ion +2 Da amount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CorrectionFactor

public CorrectionFactor(int ionId,
                        double minus2,
                        double minus1,
                        double plus1,
                        double plus2)
Constructor for the correction factor

Parameters:
ionId - The reporter index
minus2 - The relative isotope amount at -2Da
minus1 - The relative isotope amount at -1Da
plus1 - The relative isotope amount at +1Da
plus2 - The relative isotope amount at +2Da
Method Detail

getIonId

public int getIonId()
returns the reporter ion id

Returns:
the reporter ion id

setIonId

public void setIonId(int ionId)
Sets the reporter ion id

Parameters:
ionId - the reporter ion id

getMinus1

public double getMinus1()
returns the reporter ion -1 Da amount

Returns:
the reporter ion -1 Da amount

setMinus1

public void setMinus1(double minus1)
Sets the reporter ion -1 Da amount

Parameters:
minus1 - the reporter ion -1 Da amount

getMinus2

public double getMinus2()
returns the reporter ion -2 Da amount

Returns:
the reporter ion -2 Da amount

setMinus2

public void setMinus2(double minus2)
Sets the reporter ion -2 Da amount

Parameters:
minus2 - the reporter ion -2 Da amount

getPlus1

public double getPlus1()
returns the reporter ion +1 Da amount

Returns:
the reporter ion +1 Da amount

setPlus1

public void setPlus1(double plus1)
Sets the reporter ion +1 Da amount

Parameters:
plus1 - the reporter ion +1 Da amount

getPlus2

public double getPlus2()
returns the reporter ion +2 Da amount

Returns:
the reporter ion +2 Da amount

setPlus2

public void setPlus2(double plus2)
Sets the reporter ion +2 Da amount

Parameters:
plus2 - the reporter ion +2 Da amount


Copyright © 2013. All Rights Reserved.