public class FeaturesGenerator extends Object
Constructor and Description |
---|
FeaturesGenerator(FeaturesMap featuresMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getComplementaryIonsFeatures(Peptide peptide,
int charge,
int ionIndex)
Returns the ms2pip features for the complementary ions of the given
peptide at the given charge.
|
int[] |
getForwardIonsFeatures(Peptide peptide,
int charge,
int ionIndex)
Returns the ms2pip features for the forward ions of the given peptide at
the given charge.
|
public FeaturesGenerator(FeaturesMap featuresMap)
featuresMap
- a map of the features to include.public int[] getForwardIonsFeatures(Peptide peptide, int charge, int ionIndex)
peptide
- the peptidecharge
- the chargeionIndex
- the ion indexpublic int[] getComplementaryIonsFeatures(Peptide peptide, int charge, int ionIndex)
peptide
- the peptidecharge
- the chargeionIndex
- the ion indexCopyright © 2019. All rights reserved.