public enum PsmScores extends Enum<PsmScores>
Enum Constant and Description |
---|
complementarity
The complementarity score as adapted from the DirecTag paper
(http://www.ncbi.nlm.nih.gov/pubmed/18630943).
|
intensity
The intensity sub-score as adapted from the DirecTag paper
(http://www.ncbi.nlm.nih.gov/pubmed/18630943).
|
ms2_mz_fidelity
The m/z fidelity score as adapted from the DirecTag paper
(http://www.ncbi.nlm.nih.gov/pubmed/18630943).
|
native_score
The native score of the search engine.
|
precursor_accuracy
The precursor accuracy.
|
Modifier and Type | Field and Description |
---|---|
boolean |
increasing
Indicates whether the score increases with the quality of the match.
|
int |
index
The index of the score of interest.
|
String |
name
The name of the score.
|
Modifier and Type | Method and Description |
---|---|
static double |
getDecreasingScore(Peptide peptide,
MSnSpectrum spectrum,
HashMap<Ion.IonType,ArrayList<Integer>> iontypes,
NeutralLossesMap neutralLosses,
ArrayList<Integer> charges,
int identificationCharge,
SearchParameters searchParameters,
int scoreIndex)
Scores the match between the given peptide and spectrum using an m/z
fidelity score.
|
static PsmScores |
getScore(int scoreIndex)
Returns the PSM score of the given index.
|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
HashMap<Ion.IonType,ArrayList<Integer>> iontypes,
NeutralLossesMap neutralLosses,
ArrayList<Integer> charges,
int identificationCharge,
SearchParameters searchParameters,
int scoreIndex)
Scores the match between the given peptide and spectrum using an m/z
fidelity score.
|
static double |
getScore(Peptide peptide,
MSnSpectrum spectrum,
HashMap<Ion.IonType,ArrayList<Integer>> iontypes,
NeutralLossesMap neutralLosses,
ArrayList<Integer> charges,
int identificationCharge,
SearchParameters searchParameters,
PsmScores psmScore)
Scores the match between the given peptide and spectrum using an m/z
fidelity score.
|
static PsmScores |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PsmScores[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PsmScores native_score
public static final PsmScores precursor_accuracy
public static final PsmScores intensity
public static final PsmScores ms2_mz_fidelity
public static final PsmScores complementarity
public final String name
public final int index
public final boolean increasing
public static PsmScores[] values()
for (PsmScores c : PsmScores.values()) System.out.println(c);
public static PsmScores 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 static PsmScores getScore(int scoreIndex)
scoreIndex
- the index of the desired scorepublic static double getDecreasingScore(Peptide peptide, MSnSpectrum spectrum, HashMap<Ion.IonType,ArrayList<Integer>> iontypes, NeutralLossesMap neutralLosses, ArrayList<Integer> charges, int identificationCharge, SearchParameters searchParameters, int scoreIndex)
peptide
- the peptide of interestspectrum
- the spectrum of interestiontypes
- the fragment ions to annotateneutralLosses
- the neutral losses to annotatecharges
- the fragment charges to look foridentificationCharge
- the precursor chargesearchParameters
- the search parametersscoreIndex
- the index of the score to usepublic static double getScore(Peptide peptide, MSnSpectrum spectrum, HashMap<Ion.IonType,ArrayList<Integer>> iontypes, NeutralLossesMap neutralLosses, ArrayList<Integer> charges, int identificationCharge, SearchParameters searchParameters, int scoreIndex)
peptide
- the peptide of interestspectrum
- the spectrum of interestiontypes
- the fragment ions to annotateneutralLosses
- the neutral losses to annotatecharges
- the fragment charges to look foridentificationCharge
- the precursor chargesearchParameters
- the search parametersscoreIndex
- the index of the score to usepublic static double getScore(Peptide peptide, MSnSpectrum spectrum, HashMap<Ion.IonType,ArrayList<Integer>> iontypes, NeutralLossesMap neutralLosses, ArrayList<Integer> charges, int identificationCharge, SearchParameters searchParameters, PsmScores psmScore)
peptide
- the peptide of interestspectrum
- the spectrum of interestiontypes
- the fragment ions to annotateneutralLosses
- the neutral losses to annotatecharges
- the fragment charges to look foridentificationCharge
- the precursor chargesearchParameters
- the search parameterspsmScore
- the score to useCopyright © 2014. All rights reserved.