public class PsmScoringPreferences extends Object implements Serializable
| Constructor and Description |
|---|
PsmScoringPreferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
addScore(Integer advocateId,
Integer scoreId)
Adds a score for a given algorithm to the scoring preferences.
|
boolean |
equals(PsmScoringPreferences otherPsmScoringPreferences)
Returns true if the objects have identical settings.
|
HashSet<Integer> |
getScoreForAlgorithm(Integer advocateId)
Returns the scores set for a given algorithm.
|
String |
getShortDescription()
Returns a short description of the parameters.
|
boolean |
isScoringNeeded(ArrayList<Integer> advocates)
Indicates whether a score computation is needed for the given advocates.
|
boolean |
isScoringNeeded(int advocate)
Indicates whether a score computation is needed for the given advocate.
|
boolean |
isTargetDecoyNeededForPsmScoring(ArrayList<Integer> advocates)
Indicates whether target decoy databases are needed for PSM scoring.
|
public void addScore(Integer advocateId, Integer scoreId)
advocateId - the index of the algorithmscoreId - the index of the scorepublic HashSet<Integer> getScoreForAlgorithm(Integer advocateId)
advocateId - the index of the algorithmpublic boolean isScoringNeeded(int advocate)
advocate - the index of the advocate of interestpublic boolean isScoringNeeded(ArrayList<Integer> advocates)
advocates - the advocates of interestpublic boolean isTargetDecoyNeededForPsmScoring(ArrayList<Integer> advocates)
advocates - the advocates of interestpublic String getShortDescription()
public boolean equals(PsmScoringPreferences otherPsmScoringPreferences)
otherPsmScoringPreferences - the PsmScoringPreferences to compare toCopyright © 2016. All rights reserved.