Skip to main content
  • Letter to the Editor
  • Open access
  • Published:

HiVis: a portable, scalable tool for hierarchical visualization and analysis of biological networks


It is very important to analyze the network structure of interacting genes, proteins, RNAs, etc. in large-scale biological networks which represent complex biological systems. Many tools have been made for this purpose. However, they are either unable to display the hierarchically structured view of the networks or not easy to build in cross-platforms. Here, we present a navigation tool called HiVis for biological network visualization. HiVis provides a hierarchical view of the networks through a zoom-in or zoom-out function powered by k-means and fast approximate spectral clustering algorithms. It is a cross-platform, portable, fast desktop application to large-scale networks.


To the Editor: motivated by HiMap (Shi et al. 2009), we present HiVis, an open-source software that provides hierarchical interactive visualization and analysis for biological networks. It contains three main features:

  • Not only is it able to visualize networks which contain tens of thousands interactions in a hierarchically structured way, but also it allows the analysis of the local connections centered on a specific element.

  • It provides a suite of interactive methods for the user to analyze structural detail of the network.

  • HiVis is a portable cross-platform application, so that users do not need to go through the tedious installation process and bothered by installing a lot of dependent packages.


We use a top-down approach to cluster the biological networks into a multi-level node-link graph. We demonstrate the main features in Fig. 1 through a data set from STRING interaction database ( It is well known that many biological networks contain clique and hub genes which are highly clustered and contain self-similar structure. Therefore, clustering them together into one node can reveal their hierarchical information and make the visualization readable.

Fig. 1
figure 1

Illustration of features in HiVis, a software that provides hierarchical visualization and analysis of biological networks. a The interface of HiVis; b The full scope of the nodes inside the selected cluster in (a); c Displaying the selcted gene, its most related ones and their interactions when choosing a gene in (a); d Displaying the network by a fast approximate spectral clustering method in each hierarchy

Currently, we provide two cluster algorithms, k-means clustering, and fast approximate spectral clustering (Yan et al. 2009), which is faster than normal spectral clustering method and is more suitable for network clustering than k-means algorithm. The idea is to use k-means as a preprocessor and then to perform the normal spectral clustering method. Here, we also implemented a heuristic approach to determine the number of clusters by checking the slope of neighboring points of sorted eigenvalues.


It is difficult to display the biological network meaningfully in one scope, HiVis solves it by cluster them into a hierarchical tree and only reveal the nodes in the current view and the view in the next hierarchy. To be more specific, here, we present an example illustrated in Fig. 1, 1a is the overview of HiVis, the genes are clustered using k-means, and each node represents a group of them. It can switch the algorithm to modified spectral clustering and the result is shown in Fig. 1d. HiVis offers smooth animation methods to further analyze the computed clusters. When selecting one cluster, it will show a full scope of its inner structure; as shown in Fig. 1b, users can also return to the previous stage, or they can further analyze the current cluster with the same procedure. Apart from that HiVis will show each genes within the cluster, as is shown in the left part of Fig. 1b, when choosing one gene, HiVis will display the gene and its most related genes in a network, as is shown in Fig. 1c. Thus, it will help to analyze the network locally.


In this paper, we present HiVis, a software built on electron for hierarchical visualization and analysis of biological networks. We implemented the k-means clustering, fast approximate spectral clustering algorithm, and force-direct layout algorithm to let HiVis capable of handling large-scale biological data. It is worth noting that this kind of displaying technique is very general and can be applied to other networks like social network, security network, etc.


  • Protein–protein interaction networks.

  • Shi L, Cao N, Liu SX, Qian WH, Tan L, Wang GD, Sun JM, Lin CY (2009) HiMap: adaptive visualization of large-scale online social networks. In: Proceedings of IEEE Pacific visualization symposium 2009 (PacificVis'09), Beijing, China, 20–23 April 2009, pp 41–48

  • Yan D, Huang L, Jordan MI (2009) Fast approximate spectral clustering. In: Proceedings of the 15th ACM international conference on knowledge discovery and data mining (SIGKDD'09), Paris, France, June 28–July 01, 2009, pp 907–916

Download references

Authors' contributions

The authors discussed the problem and the solutions were proposed all together. All authors participated in drafting and revising the final manuscript. All authors read and approved the final manuscript.


The work is supported by a starting grant (WF220403029) from Shanghai Jiao Tong University.

Competing interests

The authors declare that they have no competing interests.

Availability of data and materials

The installation package and source code can be accessed at

Ethics approval and consent to participate

Not applicable.


Not applicable.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Shikui Tu.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (, which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Qiang, Z., Chen, H., Zhu, X. et al. HiVis: a portable, scalable tool for hierarchical visualization and analysis of biological networks. Appl Inform 5, 3 (2018).

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: