|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.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.
Field Summary | |
---|---|
protected Vector |
allInteractions
A Vector that holds all of the Interactions |
protected String |
filename
The File to be loaded |
Constructor Summary | |
---|---|
InteractionsReader(BioDataServer dataServer,
String species,
String filename)
Interactions Reader Constructor Creates a new Interactions Reader This constructor assumes a Y-Files graph is wanted. |
|
InteractionsReader(BioDataServer dataServer,
String species,
String zip_entry,
boolean is_zip)
|
|
InteractionsReader(BioDataServer dataServer,
String species,
String filename,
cytoscape.task.TaskMonitor taskMonitor)
Interactions Reader Constructor Creates a new Interactions Reader This constructor assumes a Y-Files graph is wanted. |
|
InteractionsReader(String filename)
|
Method Summary | |
---|---|
protected String |
canonicalizeName(String name)
|
protected void |
createRootGraphFromInteractionData(boolean canonicalize)
|
Interaction[] |
getAllInteractions()
|
int |
getCount()
|
CyAttributes |
getEdgeAttributes()
|
int[] |
getEdgeIndicesArray()
|
CyAttributes |
getNodeAttributes()
|
int[] |
getNodeIndicesArray()
|
giny.model.RootGraph |
getRootGraph()
|
void |
layout(giny.view.GraphView view)
|
void |
read()
Calls read(false) |
void |
read(boolean canonicalize)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String filename
protected Vector allInteractions
Constructor Detail |
---|
public InteractionsReader(BioDataServer dataServer, String species, String filename)
dataServer
- a BioDataServerspecies
- the species of the network being loadedfilename
- the file to load the network frompublic InteractionsReader(BioDataServer dataServer, String species, String filename, cytoscape.task.TaskMonitor taskMonitor)
dataServer
- a BioDataServerspecies
- the species of the network being loadedfilename
- the file to load the network frompublic InteractionsReader(BioDataServer dataServer, String species, String zip_entry, boolean is_zip)
public InteractionsReader(String filename)
Method Detail |
---|
public void layout(giny.view.GraphView view)
layout
in interface GraphReader
public void read(boolean canonicalize) throws IOException
read
in interface GraphReader
IOException
public void read() throws IOException
read
in interface GraphReader
IOException
public int getCount()
public Interaction[] getAllInteractions()
protected String canonicalizeName(String name)
protected void createRootGraphFromInteractionData(boolean canonicalize)
public giny.model.RootGraph getRootGraph()
getRootGraph
in interface GraphReader
public CyAttributes getNodeAttributes()
getNodeAttributes
in interface GraphReader
public CyAttributes getEdgeAttributes()
getEdgeAttributes
in interface GraphReader
public int[] getNodeIndicesArray()
getNodeIndicesArray
in interface GraphReader
public int[] getEdgeIndicesArray()
getEdgeIndicesArray
in interface GraphReader
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |