7 network mapping i
TRANSCRIPT
![Page 1: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/1.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Introduction to network mapping
Goal: Generate a mapped “name” network
Topics:1. Edge list2. Node attributes3. Network Mapping4. Cytoscape
![Page 2: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/2.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Steps:1.Make Edge list2.Make Node attributes3.Generate Network 4.Map node attributes5.Final touches
See Items in “Network” folder for results
Network Mapping
![Page 3: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/3.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Minimum Requirements:• 2 column matrix with source (start)
and target (end) nodes (e.g. letters)• extra columns can be used to set
edge (connection) aesthetics (e.g. width, color, etc.)
• See file “name edge list.xlsx” for an example edge list defining how the letters in my name (Dmitry Grapov) are connected with an extra column identifying consonants
Edge List
![Page 4: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/4.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Minimum Requirements:• ID for nodes (rows) must
match the edge ID• Extra columns can be used
to set each nodes properties (e.g. color, size, image, etc.)
• See file “node attributes.xlsx” for an example node attributes file
Node Attributes
![Page 5: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/5.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Use Cytoscape to generate network (v2.83)(http://www.cytoscape.org/ )• Import Edge list (this can be many forms)
1
2
Network Generation
![Page 6: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/6.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
1. Select file for edge list2. Identify columns for edge (connection) source and target.Double click column to enable edge attributes.Hint: Show Text File Import Options>>Transfer first line…..
1
4
5
2 3
6
Network Generation (cont.)
![Page 7: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/7.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Cytoscape provides many options to help auto-optimize the node (letters) layout
1
3
2 (3 default add-ins)
Node Layout
![Page 8: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/8.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Set defaults to modify global node, edge and other options.Double-click on Defaults image
1
2
3
Global Defaults
![Page 9: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/9.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Use the VizMapper to map “extra columns” in edge list (attributes) to aesthetics.
1
Modify Edge Attributes
![Page 10: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/10.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Select file for the node attributes. Extra options can be used to select node ID (must match edge list), change the file delimiter, etc.1
2
3
4
5
6
Node Attributes
![Page 11: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/11.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Use the VizMapper to map node attributes.
1
Modify Node Attributes
![Page 12: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/12.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
New columns can be added to the node attributes and change the mapping in existing networks. Here I’ll add a url for a .png to use as a custom node image. Custom images can also be defined as local file path (e.g. windows: file:///C:\.....)
Add node images
![Page 13: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/13.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Right-click on an edge or node to manually change their aesthetics
12
3
Override mapped attributes
![Page 14: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/14.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Export as .pdf or .svg to further modify (and beautify) the network.
1
2
Export Network as Image
![Page 15: 7 network mapping i](https://reader036.vdocument.in/reader036/viewer/2022062703/554e84e5b4c90526358b45b9/html5/thumbnails/15.jpg)
Biology
Chemistry
Informatics
Net
wor
k M
appi
ng
Use irfanview (http://www.irfanview.com/) for minor edits or inkscape (http://www.inkscape.org/en/) for complete control of final touches including making legends.
Final Touches