|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.biology.NeutralLoss
public class NeutralLoss
This class represents a neutral loss.
Field Summary | |
---|---|
static NeutralLoss |
CH4OS
CH4OS loss |
static NeutralLoss |
H2O
H2O loss |
static NeutralLoss |
H3PO4
H3PO4 loss |
static NeutralLoss |
HPO3
H3PO3 loss |
double |
mass
The mass lost |
String |
name
The name of the neutral loss |
static NeutralLoss |
NH3
NH3 loss |
Constructor Summary | |
---|---|
NeutralLoss(String name,
double mass,
boolean fixed)
Constructor for a user defined neutral loss |
Method Summary | |
---|---|
boolean |
isFixed()
Returns a boolean indicating whether the neutral loss is fixed or not |
boolean |
isSameAs(NeutralLoss anotherNeutralLoss)
Method indicating whether another neutral loss is the same as the one considered |
void |
setFixed(boolean fixed)
Sets whether the loss is fixed or not |
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 |
Field Detail |
---|
public static final NeutralLoss H2O
public static final NeutralLoss NH3
public static final NeutralLoss H3PO4
public static final NeutralLoss HPO3
public static final NeutralLoss CH4OS
public double mass
public String name
Constructor Detail |
---|
public NeutralLoss(String name, double mass, boolean fixed)
name
- name of the neutral lossmass
- mass of the neutral lossMethod Detail |
---|
public boolean isSameAs(NeutralLoss anotherNeutralLoss)
anotherNeutralLoss
- another neutral loss
public boolean isFixed()
public void setFixed(boolean fixed)
fixed
- a boolean indicating whether the loss is fixed or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |