|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AFLPcore.Operation | +--AFLPcore.SizeStandard
This class is used to define a size standard. As far as this program is concerned, a size standard only contains the size in bp of the expected values. For example, something like: 50, 75, 100, 150, etc... The program can then use these to tell which values read in from a file are valid points. Size standards are read in from the file "standards.cfg" and stored in this class.
Fields inherited from class AFLPcore.Operation |
descript, helpFile, name, options |
Method Summary | |
void |
add(double value)
Adds the specified value to the defintion. |
boolean |
contains(double value)
Tells whether or not the specified value is included in this size standard definition. |
java.lang.String |
getDescription()
Defined to satisfy abstract parent class, but not really applicable in this case. |
java.lang.String |
getHelpFile()
Defined to satisfy abstract parent class, but not really applicable in this case. |
java.lang.String |
getName()
Gives the name of this size standard. |
Option[] |
getOptions()
Defined to satisfy abstract parent class, but not really applicable in this case. |
double |
getPeakLocation(int peakIndex)
Returns the location of a peak at a given index |
int |
getSize()
Returns the number of elements conained within the datalist |
void |
setOptions(Option[] opts)
Defined to satisfy abstract parent class, but not really applicable in this case. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getName()
getName
in class Operation
public boolean contains(double value)
value
- the size in bptrue
if it contains the value.public void add(double value)
value
- the value to add, in bppublic java.lang.String getDescription()
getDescription
in class Operation
AFLPcore.Operation
public java.lang.String getHelpFile()
getHelpFile
in class Operation
AFLPcore.Operation
public Option[] getOptions()
getOptions
in class Operation
AFLPcore.Operation
null
if there are none.public void setOptions(Option[] opts)
setOptions
in class Operation
AFLPcore.Operation
opts
- the values for the options that this operation
understands.public int getSize()
public double getPeakLocation(int peakIndex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |