public class SpectrumCountingParameters extends Object implements Serializable
Constructor and Description |
---|
SpectrumCountingParameters()
Default constructor.
|
SpectrumCountingParameters(SpectrumCountingParameters otherSpectrumCountingPreferences)
Creates new preferences based on other spectrum counting preferences.
|
Modifier and Type | Method and Description |
---|---|
Integer |
getMatchValidationLevel()
Returns the lowest validation level considered as an integer as indexed
in the MatchValidationLevel enum.
|
Boolean |
getNormalize()
Indicates whether the spectrum counting index should be normalized.
|
Double |
getReferenceMass()
Returns the reference total mass to use for normalization.
|
SpectrumCountingMethod |
getSelectedMethod()
Returns the current spectrum counting method.
|
UnitOfMeasurement |
getUnit()
Returns the unit used for normalization.
|
boolean |
isSameAs(SpectrumCountingParameters anotherSpectrumCountingPreferences)
Compares two spectrum counting preferences.
|
void |
setMatchValidationLevel(Integer matchValidationLevel)
Sets the lowest validation level to consider as an integer as indexed in
the MatchValidationLevel enum.
|
void |
setNormalize(Boolean normalize)
Sets whether the spectrum counting index should be normalized.
|
void |
setReferenceMass(Double referenceMass)
Sets the reference total mass to use for normalization.
|
void |
setSelectedMethod(SpectrumCountingMethod selectedMethod)
Set the current spectrum counting method.
|
void |
setUnit(UnitOfMeasurement unit)
Sets the unit used for normalization.
|
public SpectrumCountingParameters()
public SpectrumCountingParameters(SpectrumCountingParameters otherSpectrumCountingPreferences)
otherSpectrumCountingPreferences
- the other spectrum counting
preferencespublic SpectrumCountingMethod getSelectedMethod()
public void setSelectedMethod(SpectrumCountingMethod selectedMethod)
selectedMethod
- the spectral counting methodpublic Integer getMatchValidationLevel()
public void setMatchValidationLevel(Integer matchValidationLevel)
matchValidationLevel
- the lowest validation level to considerpublic boolean isSameAs(SpectrumCountingParameters anotherSpectrumCountingPreferences)
anotherSpectrumCountingPreferences
- another spectrum counting
preferencespublic Double getReferenceMass()
public void setReferenceMass(Double referenceMass)
referenceMass
- the reference total mass to use for normalization in
μgpublic UnitOfMeasurement getUnit()
public void setUnit(UnitOfMeasurement unit)
unit
- the unit used for normalizationpublic Boolean getNormalize()
public void setNormalize(Boolean normalize)
normalize
- a boolean indicating whether the spectrum counting index
should be normalizedCopyright © 2018. All rights reserved.