public enum ModificationLocalizationScore extends Enum<ModificationLocalizationScore>
Enum Constant and Description |
---|
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.
|
String |
getName()
Returns the name of the score.
|
static ModificationLocalizationScore |
getScore(int id)
Returns the PTM score indexed by the given id.
|
static ModificationLocalizationScore |
getScore(String name)
Returns the PTM score of the given name.
|
String |
toString() |
static ModificationLocalizationScore |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModificationLocalizationScore[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModificationLocalizationScore PhosphoRS
public static final ModificationLocalizationScore None
public static ModificationLocalizationScore[] values()
for (ModificationLocalizationScore c : ModificationLocalizationScore.values()) System.out.println(c);
public static ModificationLocalizationScore 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 String toString()
toString
in class Enum<ModificationLocalizationScore>
public int getId()
public String getName()
public static ModificationLocalizationScore getScore(int id)
id
- the id number of the PTM scorepublic static ModificationLocalizationScore getScore(String name)
name
- the name of the scorepublic static String getCommandLineOptions()
Copyright © 2018. All rights reserved.