|
Cytoscape 2.6.2 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cytoscape.data.readers.AbstractGraphReader cytoscape.data.readers.InteractionsReader
public class InteractionsReader
Reader for graphs in the interactions file format. Given the filename, provides the graph and attributes objects constructed from the file.
Constructor Summary | |
---|---|
InteractionsReader(InputStream is,
String name)
Constructor. |
|
InteractionsReader(String filename)
Creates an interaction reader based on the string file name. |
|
InteractionsReader(String filename,
TaskMonitor monitor)
Creates an interaction reader based on the string file name. |
|
InteractionsReader(String zip_entry,
TaskMonitor monitor,
boolean is_zip)
Creates an interaction reader based on a string consisting of data that has been read from a zip file. |
Method Summary | |
---|---|
void |
doPostProcessing(CyNetwork net)
Executes post-processing: no-op. |
Interaction[] |
getAllInteractions()
DOCUMENT ME! |
int |
getCount()
DOCUMENT ME! |
int[] |
getEdgeIndicesArray()
DOCUMENT ME! |
int[] |
getNodeIndicesArray()
DOCUMENT ME! |
void |
layout(CyNetworkView networkView)
Deprecated. Use getLayoutAlgorithm() instead. Gone 5/2008. |
void |
read()
Calls read(false) |
void |
read(boolean canonicalize)
Deprecated. Will be removed 5/2008 |
void |
setTaskMonitor(TaskMonitor monitor)
Sets the task monitor we want to use |
Methods inherited from class cytoscape.data.readers.AbstractGraphReader |
---|
getLayoutAlgorithm, getNetworkName, layout |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InteractionsReader(String zip_entry, TaskMonitor monitor, boolean is_zip)
zip_entry
- The zip entry data.monitor
- An optional task monitor. May be null.is_zip
- Indicates that the data is from a zip file - Should almost
always be true.public InteractionsReader(String filename)
filename
- The filename that contains the interaction data
to be read.public InteractionsReader(String filename, TaskMonitor monitor)
filename
- The filename that contains the interaction data
to be read.monitor
- An optional task monitor. May be null.public InteractionsReader(InputStream is, String name)
is
- Input stream of GML file,Method Detail |
---|
public void setTaskMonitor(TaskMonitor monitor)
setTaskMonitor
in class AbstractGraphReader
monitor
- the TaskMonitor to usepublic void layout(CyNetworkView networkView)
networkView
- the view of the network we want to layout@Deprecated public void read(boolean canonicalize) throws IOException
canonicalize
- This parameter does not in use from 2.5.
IOException
- DOCUMENT ME!public void read() throws IOException
read
in interface GraphReader
read
in class AbstractGraphReader
IOException
- DOCUMENT ME!public int getCount()
public Interaction[] getAllInteractions()
public int[] getNodeIndicesArray()
getNodeIndicesArray
in interface GraphReader
getNodeIndicesArray
in class AbstractGraphReader
public int[] getEdgeIndicesArray()
getEdgeIndicesArray
in interface GraphReader
getEdgeIndicesArray
in class AbstractGraphReader
public void doPostProcessing(CyNetwork net)
AbstractGraphReader
doPostProcessing
in interface GraphReader
doPostProcessing
in class AbstractGraphReader
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |