public enum PtmScore extends Enum<PtmScore>
Enum Constant and Description |
---|
AScore
The A score.
|
None
No probabilistic score.
|
PhosphoRS
The PhosphoRS score.
|
Modifier and Type | Method and Description |
---|---|
static String |
getCommandLineOptions()
Returns the different implemented scores as list of command line option.
|
int |
getId()
Returns the id number of the score.
|
static ArrayList<PtmScore> |
getImplementedPtmScores()
Returns a list of the implemented scores.
|
String |
getName()
Returns the name of the score.
|
static PtmScore |
getScore(int id)
Returns the PTM score indexed by the given id.
|
static PtmScore |
getScore(String name)
Returns the PTM score of the given name.
|
static PtmScore[] |
getScoresAsList()
Returns a list containing the names of the implemented scores.
|
String |
toString() |
static PtmScore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PtmScore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PtmScore AScore
public static final PtmScore PhosphoRS
public static final PtmScore None
public static PtmScore[] values()
for (PtmScore c : PtmScore.values()) System.out.println(c);
public static PtmScore valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getId()
public String getName()
public static ArrayList<PtmScore> getImplementedPtmScores()
public static PtmScore getScore(int id)
id
- the id number of the PTM scorepublic static PtmScore getScore(String name)
name
- the name of the scorepublic static String getCommandLineOptions()
public static PtmScore[] getScoresAsList()
Copyright © 2016. All rights reserved.