Graphics Reference
In-Depth Information
this subset—for example, you can group it together (via right-click), collapse
it into a single node (via right-click, and thereafter collapse and expand via
double-click), place it into new network workspaces (created via File
⇒
New,
and accessed under the Network tab in the Control Panel), and so on.
Importing Data into Cytoscape
GettingdataintoCytoscapecanbethefirstchallenge.Ifyouhavedifficulties
importing data, Cytoscape works well with GraphML files, and GraphML
files can be generated with most other software. Note that Cytoscape does
not support data of type
float
in a GraphML file, and Gephi, for example,
exports some items as type
float
. You can use a text editor to simply
replace any references to
float
with
double
.
To import flat files of links and nodes (such as CSV or text files), the data
import into Cytoscape is very flexible, which means that it has many
settings. You can import these flat files by following a specific sequence:
1. First, load the links data via the Import Network from the following File
button (or File
⇒
Import
⇒
Network
⇒
File menu):
As shown in
Figure 7-20
, a detailed dialog box appears, where you must
identify the following:
• Source node (called
Source Interaction
)
• Target node (called
Target Interaction
)
• Type of link (called
Interaction Type
), which you can leave empty
if there is only one type of link between nodes