public class KOResult extends AnalysisResult
Modifier and Type | Field and Description |
---|---|
private java.util.Map<parsebionet.biodata.BioEntity,java.lang.Double> |
map
Map containing the result for each knocked out entity.
|
private javax.swing.JTable |
resultTable
Table with all results.
|
private javax.swing.JTextField |
searchField
Field to search for entities in the plot.
|
Constructor and Description |
---|
KOResult() |
Modifier and Type | Method and Description |
---|---|
void |
addLine(parsebionet.biodata.BioEntity entity,
double value)
Adds a value to the map.
|
double |
getValueForEntity(parsebionet.biodata.BioEntity ent) |
void |
plot()
Plots the results.
|
private void |
updateTable(javax.swing.table.TableRowSorter<javax.swing.table.TableModel> sorter)
Updates the table when a search is made in the plot.
|
void |
writeToFile(java.lang.String path)
Writes the results to a file.
|
private java.util.Map<parsebionet.biodata.BioEntity,java.lang.Double> map
private javax.swing.JTextField searchField
private javax.swing.JTable resultTable
public void addLine(parsebionet.biodata.BioEntity entity, double value)
public void writeToFile(java.lang.String path)
AnalysisResult
writeToFile
in class AnalysisResult
path
- Path to the file to write the results.public double getValueForEntity(parsebionet.biodata.BioEntity ent)
public void plot()
AnalysisResult
plot
in class AnalysisResult
private void updateTable(javax.swing.table.TableRowSorter<javax.swing.table.TableModel> sorter)