public class TagAssumption extends SpectrumIdentificationAssumption implements UrParameter
advocate, identificationCharge, identificationFile, rank, score
serialVersionUID
Constructor and Description |
---|
TagAssumption()
Constructor for en empty assumption.
|
TagAssumption(int advocate,
int rank,
Tag tag,
Charge identificationCharge,
double score)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getFamilyName()
This method returns the family name of the parameter.
|
int |
getIndex()
This method returns the index of the parameter.
|
Tag |
getTag()
Returns the tag of this assumption.
|
double |
getTheoreticMass()
Returns the theoretic mass of the given assumption.
|
double |
getTheoreticMass(boolean includeCTermGap,
boolean includeNTermGap)
Returns the theoretic mass of the tag, eventually without terminal gaps.
|
double |
getTheoreticMz(boolean includeCTermGap,
boolean includeNTermGap)
Returns the theoretic mass of the tag, eventually without terminal gaps.
|
getAdvocate, getDeltaMass, getDeltaMass, getIdentificationCharge, getIdentificationFile, getIsotopeNumber, getPrecursorMatch, getRank, getScore, getTheoreticMz, setRank
addUrParam, getParameterKey, getUrParam
public TagAssumption()
public TagAssumption(int advocate, int rank, Tag tag, Charge identificationCharge, double score)
advocate
- the advocate supporting this assumptionrank
- the rank of the assumptiontag
- the identified tagidentificationCharge
- the identified chargescore
- the scorepublic Tag getTag()
public double getTheoreticMass()
SpectrumIdentificationAssumption
getTheoreticMass
in class SpectrumIdentificationAssumption
public double getTheoreticMass(boolean includeCTermGap, boolean includeNTermGap)
includeCTermGap
- if true the C-terminal gap will be added if
presentincludeNTermGap
- if true the N-terminal gap will be added if
presentpublic double getTheoreticMz(boolean includeCTermGap, boolean includeNTermGap)
includeCTermGap
- if true the C-terminal gap will be added if
presentincludeNTermGap
- if true the N-terminal gap will be added if
presentpublic String getFamilyName()
UrParameter
getFamilyName
in interface UrParameter
public int getIndex()
UrParameter
getIndex
in interface UrParameter
Copyright © 2014. All Rights Reserved.