java.lang.Object
com.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.identification.peptide_shaker.PSModificationScores
All Implemented Interfaces:
UrParameter, Serializable

public class PSModificationScores extends ExperimentObject implements UrParameter
This class contains the scores for the locations of the possible modifications.
Author:
Marc Vaudel
See Also:
  • Field Details

  • Constructor Details

    • PSModificationScores

      public PSModificationScores()
      Constructor.
  • Method Details

    • addModificationScoring

      public void addModificationScoring(String modName, ModificationScoring modificationScoring)
      Adds a scoring result for the modification of interest.
      Parameters:
      modName - the modification of interest
      modificationScoring - the corresponding scoring
    • getModificationScoring

      public ModificationScoring getModificationScoring(String modName)
      Returns the modification scoring for the desired modification (null if none found).
      Parameters:
      modName - the modification of interest
      Returns:
      the scoring
    • containsModification

      public boolean containsModification(String modName)
      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

      public Set<String> getScoredModifications()
      Returns a list of scored modifications.
      Returns:
      a list of scored modifications
    • getParameterKey

      public long getParameterKey()
      Description copied from interface: UrParameter
      This method returns the key of the parameter. The key must be unique to the type of parameter.
      Specified by:
      getParameterKey in interface UrParameter
      Returns:
      the parameter key