|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.experiment.personalization.ExperimentObject
com.compomics.util.experiment.io.massspectrometry.MgfIndex
public class MgfIndex
This class contains the indexes of an mgf file after indexing mapped with the title of the spectrum
Constructor Summary | |
---|---|
MgfIndex(HashMap<String,Long> indexMap,
String fileName,
double minRT,
double maxRT)
Constructor |
Method Summary | |
---|---|
String |
getFileName()
Returns the name of the indexed file |
Long |
getIndex(String spectrumTitle)
Returns the index corresponding to the desired spectrum |
HashMap<String,Long> |
getIndexes()
Returns the index map |
Double |
getMaxRT()
Returns the maximal RT in this file |
Double |
getMinRT()
Returns the minimum RT in this file |
int |
getNSpectra()
Returns the number of imported spectra |
void |
setMaxRT(Double maxRT)
Sets the maximal RT in this file |
void |
setMinRT(Double minRT)
Sets the minimum RT in this file |
Methods inherited from class com.compomics.util.experiment.personalization.ExperimentObject |
---|
addUrParam, getParameterKey, getUrParam |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MgfIndex(HashMap<String,Long> indexMap, String fileName, double minRT, double maxRT)
indexMap
- map of all indexes: spectrum title -> index in the filefileName
- maxRT
- minRT
- Method Detail |
---|
public Long getIndex(String spectrumTitle)
spectrumTitle
- the desired spectrum
public HashMap<String,Long> getIndexes()
public String getFileName()
public Double getMaxRT()
public void setMaxRT(Double maxRT)
maxRT
- the maximal RT in this filepublic Double getMinRT()
public void setMinRT(Double minRT)
minRT
- the minimum RT in this filepublic int getNSpectra()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |