前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Cytoscape教程(一)

Cytoscape教程(一)

作者头像
生信宝典
发布2018-02-05 10:22:27
1.6K0
发布2018-02-05 10:22:27
举报
文章被收录于专栏:生信宝典生信宝典
What is cytoscape

Cytoscape is an open source software platform for visualizing molecular interaction networks and biological pathways and integrating these networks with annotations, gene expression profiles and other state data. Although Cytoscape was originally designed for biological research, now it is a general platform for complex network analysis and visualization. Cytoscape core distribution provides a basic set of features for data integration, analysis, and visualization. Additional features are available as Apps (formerly called Plugins). Apps are available for network and molecular profiling analyses, new layouts, additional file format support, scripting, and connection with databases. They may be developed by anyone using the Cytoscape open API based on Java鈩?technology and App community development is encouraged. Most of the Apps are freely available from Cytoscape App Store.

How to install cytoscape
  • Install Java if you do not have one.
  • Download cytoscape.
  • App installation
    • Cytoscape menu bar → Apps → App manager → Browse and install apps.
Simple cytoscape usage

A toy data (saved in toy.txt)

代码语言:javascript
复制
SUPERIOR    SUBORDINATE
Dean    Vice dean1
Dean    Vice dean2
Vice dean1    DirectorA
Vice dean2    DirectorB
Vice dean1    DirectorC
Vice dean1    DirectorD
DirectorA    T1
DirectorA    T2
DirectorB    T3
DirectorB    T4
DirectorB    T5

The toy network

The video tutorial to show how to use cytoscape to transfer the text into a network.

https://v.qq.com/iframe/player.html?vid=e050243v8ol&width=670&height=502.5&auto=0

More cytoscape operations
Node searching, adding, deletion, selection and attribute chaning
  • Files needed
    • RUAL.subset.sif: Protein-protein interaction data
    • RUAL.subset.na: The map file between Gene ID and protein name
  • The video tutorial
  • https://v.qq.com/iframe/player.html?vid=o05022bnnv3&width=646&height=484.5&auto=0
Heatmap nodes color using expression data
  • Files needed
    • galFiltered.sif: Protein-protein and protein-DNA interaction data
    • galExpData.mrna: Gene expression profile in various conditions
  • Effect picture
    • http://v.qq.com/x/page/h0502n2uvqw.html
Cytoscape mapping gene expression to KEGG pathway
  • Time-series expression profile within KEGG pathway
  • Files needed
    • KEGG pathway xml file, like ko00900.xml
    • Expression data for genes involved in ko00900 pathway
  • Plugins needed
    • KEGGscape: used to parse XML files of KEGG pathway
    • enhancedGraphics: used to do barPlot and linePlot
  • The video tutorial
  • https://v.qq.com/iframe/player.html?vid=h0502wze2tq&width=646&height=484.5&auto=0
Import a table to construct network
  • Import - Network - File - Selet a two-column file, then a network is constructed.
  • Tools - NetworkAnalyzer - Network Analysis - Analyze network, the attribute of the network is analyzed. The analyzing result can be used to set the visualization styles of nodes and edges.
Layout

Attribute Circle Layout is my favorite algorithm to show networks especially when you select some nodes. This algorithm can put nodes with same values together when you are performing Attribute Circle Layout by the related attributes.

For example, I have two classes of genes, one is upregulated, the other is downregulated. This information is saved in a two columns file with the first column containing gene names and the second column named expr containing 0 (down-regulated) and 1 (up-regulated). This file can be imported into Cytoscape by File - Import - Table. Following one can select all these genes and perform Attribute Circle Layout by expr.

Select nodes

Select-Nodes-From ID list file (working in Cytoscape 3.1.1)

Color specific nodes
  • Contruct a at-least two columns file to represent nodes and their attributes. Make sure the attribute columns have unique names to facilitate selection.
  • Import this attribute file as Node Table Column through FIle - Import - Table.
  • Set node color by given attributes using given column names.
本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2017-05-17,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 生信宝典 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • What is cytoscape
  • How to install cytoscape
  • Simple cytoscape usage
  • More cytoscape operations
    • Node searching, adding, deletion, selection and attribute chaning
      • Heatmap nodes color using expression data
      • Cytoscape mapping gene expression to KEGG pathway
      • Import a table to construct network
      • Layout
      • Select nodes
      • Color specific nodes
      领券
      问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档