Skip to content

Loading and editing networks

Paco edited this page Feb 8, 2016 · 10 revisions


Import networks from your file

You can upload your own network from a xlsx, plain text .txt or a network sif file. Just go to File > Import > Network from SIF / XLSX / TXT. It is very easy, just browse your file and click ok.

importnetworkfilemenu

####SIF FILE

If your network is already in sif format, use this option. See the link for more information about the SIF format.

  1. Browse your file. A preview of your data will be displayed in the table.
  2. Click ok.

importnetworkfile

See the example file: example sif. This example can be found as the first example in the example section at the menu bar.

####XLSX FILE

Also, you can upload networks directly from a xlsx file:

  1. Select the file from your computer.
  2. Indicate in which sheet is your network.
  3. Indicate which column contains the node source, which one contains the edge type (if any) and the node target. Once you have told CellMaps all these instructions, a preview of your data will be displayed in the table.
  4. Click ok.

importnetworkfilexlsx

See the example file: example xlsx. This example can be found as the first example in the example section at the menu bar.

####TXT FILE

Finally, you can upload networks directly from a txt file:

  1. Select the file from your computer.
  2. Indicate which separator are you using to separate the columns/fields.
  3. Indicate which column contains the node source, which one contains the edge type (if any) and the node target. Once you have told CellMaps all these instructions, a preview of your data will be displayed in the table.
  4. Click ok.

importnetworkfiletxt

See the example file: example txt This example can be found as the first example in the example section at the menu bar.


Import networks from databases

Use a network from an external database by going to Network > Import Network > IntAct. A popup window will appear.

  1. Select the specie you are working with.
  2. Introduce the genes for which you want to get the interactions. Here you can either:
    • Use all nodes from the network you are working with
    • Use only the selected nodes from the network you are working with
    • Introduce a list of gene/proteins directly in the text box.
    • Upload a list of gene/proteins from file.
  3. Click Enter and the network will appear in the viewer window.

intactmenu

importnetworkdatabase


Create your own network

At the toolbar there are the editor buttons that enables you to build and modify networks interactively by adding and removing nodes and edges onto the viewer window.

create net

Start adding nodes by activating the add node button. Once activated, click on the viewer window to add the node.

addnode

Then, you can add an edge between two nodes by activating the join nodes button. To draw the edge, first click on the source node. Then, move the cursor to the target node (a line will follow the cursor) and click again on to create the connection.

joinnodes

Remove nodes and edges by activating the delete button and clicking on the element you want to remove.

delete


Search and filter your network

I you have integrated node or edge attributes (see here ), then you can use these to explore and filter your network. Go to Network > Search > Nodes/edges by attributes. A box will appear when you can create as many queries as you need.

select_byattr1

In the image below describes the how the filter box works:

select_byattr

For example, in the following image we describe how to select nodes with a betweenness greater than 50. Configure your query, click add filter and then click on select (or in the inverted select). Those nodes matching the criteria will be highlighted. If you want to remove them, then choose remove. If you want to change its visual style, you can use the toolbar. Also, you can create a new attribute and add a specific values for the selected nodes by going to the menu Attributes>Edit node attributes.

select_byattr2

Note that when you remove nodes, these will be completely removed from your actual session and can not be recovered. We recommend you to save a session before starting the filters so you always will be able to come back if you change your mind.