Class PSModificationScores
java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.identification.peptide_shaker.PSModificationScores
- All Implemented Interfaces:
UrParameter,Serializable
This class contains the scores for the locations of the possible
modifications.
- Author:
- Marc Vaudel
- See Also:
-
Field Summary
FieldsFields inherited from class com.compomics.util.experiment.personalization.ExperimentObject
NO_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddModificationScoring(String modName, ModificationScoring modificationScoring) Adds a scoring result for the modification of interest.booleancontainsModification(String modName) Indicates whether a modification has been already scored.getModificationScoring(String modName) Returns the modification scoring for the desired modification (null if none found).longThis method returns the key of the parameter.Returns a list of scored modifications.Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject
addUrParam, asLong, clearParametersMap, getId, getUrParam, getUrParams, removeUrParam, setId, setUrParams
-
Field Details
-
dummy
Dummy scores.
-
-
Constructor Details
-
PSModificationScores
public PSModificationScores()Constructor.
-
-
Method Details
-
addModificationScoring
Adds a scoring result for the modification of interest.- Parameters:
modName- the modification of interestmodificationScoring- the corresponding scoring
-
getModificationScoring
Returns the modification scoring for the desired modification (null if none found).- Parameters:
modName- the modification of interest- Returns:
- the scoring
-
containsModification
Indicates whether a modification has been already scored.- Parameters:
modName- the modification of interest- Returns:
- a boolean indicating whether the modification is in the map
-
getScoredModifications
Returns a list of scored modifications.- Returns:
- a list of scored modifications
-
getParameterKey
public long getParameterKey()Description copied from interface:UrParameterThis method returns the key of the parameter. The key must be unique to the type of parameter.- Specified by:
getParameterKeyin interfaceUrParameter- Returns:
- the parameter key
-