Cytoscape教程(一)
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
)
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
throughFIle
-Import
-Table
. - Set node color by given attributes using given column names.
- JavaScript 教程
- JavaScript 编辑工具
- JavaScript 与HTML
- JavaScript 与Java
- JavaScript 数据结构
- JavaScript 基本数据类型
- JavaScript 特殊数据类型
- JavaScript 运算符
- JavaScript typeof 运算符
- JavaScript 表达式
- JavaScript 类型转换
- JavaScript 基本语法
- JavaScript 注释
- Javascript 基本处理流程
- Javascript 选择结构
- Javascript if 语句
- Javascript if 语句的嵌套
- Javascript switch 语句
- Javascript 循环结构
- Javascript 循环结构实例
- Javascript 跳转语句
- Javascript 控制语句总结
- Javascript 函数介绍
- Javascript 函数的定义
- Javascript 函数调用
- Javascript 几种特殊的函数
- JavaScript 内置函数简介
- Javascript eval() 函数
- Javascript isFinite() 函数
- Javascript isNaN() 函数
- parseInt() 与 parseFloat()
- escape() 与 unescape()
- Javascript 字符串介绍
- Javascript length属性
- javascript 字符串函数
- Javascript 日期对象简介
- Javascript 日期对象用途
- Date 对象属性和方法
- Javascript 数组是什么
- Javascript 创建数组
- Javascript 数组赋值与取值
- Javascript 数组属性和方法
- SAP Fiori Elements如何基于domain fixed value创建下拉菜单
- SAP WebClient UI配置决定(configuration)的逻辑介绍
- 潘石屹用Python解决100个问题 | 阶乘之和
- 潘石屹用Python解决100个问题 | 斐波那契数列分数
- Leetcode No.7 整数反转
- 后端程序员必备的 Linux 基础知识+常见命令(近万字总结)
- XSS Game分析以及知识点总结
- Web 图形可视化 SQL 优化神奇,真香!
- C++ vector 容器浅析
- C++中的STL中map用法详解
- C++ pair(对组)的简单了解
- elasticSearch学习(六)
- centos7搭建LDAP服务器
- zookeeper is not a recognized option zookeeper参数不支持
- 快来看看你是不是“假的”DBA