ClusterEnG: an interactive educational web resource for clustering and visualizing high-dimensional data

Mohith Manjunath, Yi Zhang, Yeonsung Kim, Steve H. Yeo, Omar Sobh, Nathan Russell, Christian Followell, Colleen Bushell, Umberto Ravaioli, Jun S. SongPeerj Comput. sci 2018

TL;DR

ClusterEnG is a new web-based platform that simplifies the complex task of clustering and visualizing high-dimensional biological data. It offers a user-friendly interface with multiple state-of-the-art clustering algorithms, interactive visualizations, and built-in validation metrics, making advanced data analysis accessible to researchers without extensive computational backgrounds.

What Problem Does This Paper Address?

High-dimensional biological datasets, such as those generated by next-generation sequencing, are growing at an unprecedented rate. Analyzing this data often involves clustering to identify patterns and group similar data points. While many programming libraries (like R and Python) exist for clustering, there's a significant gap in accessible, interactive web resources that combine multiple clustering methods, robust visualization tools, and validation metrics in a single platform. This lack of integration makes it challenging for researchers, especially those less experienced with computation, to effectively explore, analyze, and interpret their complex biological data. Existing tools often require local installation, have limitations in data size, or lack comprehensive visualization and validation capabilities.

Methods

ClusterEnG addresses this by providing a comprehensive web interface that integrates several key functionalities:

  • Multiple Clustering Algorithms: It offers seven distinct clustering algorithms, including k-means, k-medoids, hierarchical clustering, DBSCAN, spectral clustering, affinity propagation, and Gaussian mixture models. For some algorithms, parallel implementations are available for faster processing of large datasets.
  • Interactive Visualizations: The platform leverages dimensionality reduction techniques like Principal Component Analysis (PCA) and t-Distributed Stochastic Neighbor Embedding (t-SNE) to generate interactive 2D and 3D plots. These visualizations allow users to zoom, select groups of data points, and explore relationships dynamically.
  • Internal Clustering Validation: ClusterEnG incorporates eighteen internal clustering validation measures. These metrics help users quantitatively assess the quality of clustering results from different algorithms without relying on external labels, aiding in algorithm selection.
  • Docker Containerization: To handle large files efficiently, ClusterEnG uses Docker containers to package input data and selected algorithms. This allows for dynamic execution of serial or parallel code on a backend cluster, managed by Chronos.
  • Educational Resources: The platform includes tutorials that explain the advantages and disadvantages of each clustering algorithm, highlighting potential pitfalls and providing examples.

Datasets

The paper mentions the use of two public sample datasets for demonstration and evaluation:

  • NCI60 cancer cell lines: This dataset contains gene expression data for 64 samples and 9,707 genes.
  • B-cell lymphoma cells: This dataset includes gene expression data for 67 samples and 18,432 genes.

The authors also mention using randomly generated datasets for benchmarking algorithm runtimes, with a fixed feature set of 10,000 and varying numbers of samples from 100 to 5,000.

Key Insights and Ideas

  • Bridging the Computational Gap: ClusterEnG democratizes access to advanced clustering and visualization techniques, empowering biologists and researchers who may not be computational experts to gain deeper insights from their data.
  • Integrated Workflow: The platform's strength lies in its seamless integration of data input, multiple clustering algorithms, interactive visualization, and quantitative validation, offering a complete analysis pipeline in one place.
  • Visualizing Complex Relationships: Interactive PCA and t-SNE plots are crucial for understanding the inherent structure of high-dimensional data, allowing users to visually identify distinct groups and relationships that might be missed with static plots.
  • Informed Algorithm Selection: The inclusion of eighteen validation measures provides a systematic way to compare and select the most appropriate clustering algorithm for a given dataset, moving beyond subjective visual assessment.

Key Results

  • Performance Benchmarking: The study benchmarks the runtime of various clustering algorithms. DBSCAN was found to be the fastest for most tested data, while affinity propagation and hierarchical clustering were among the slowest. Parallel implementations of k-means and spectral clustering showed performance improvements.
  • Visualization Effectiveness: Preliminary tests indicated that ClusterEnG's visualizations work well for datasets up to a few thousand data points, with Google Chrome performing best among tested browsers.
  • Algorithm Quality: For the NCI60 and B-cell lymphoma datasets, hierarchical clustering was identified as optimal by a significant number of validation measures, suggesting its effectiveness for these specific gene expression datasets. However, the paper notes that spectral clustering and DBSCAN excel at identifying specific data structures like concentric annuli, where other algorithms fail.

Limitations and Future Work

  • Data Size Limitations: While ClusterEnG accepts files up to 2 GB, the interactive visualization performance can be limited by the user's browser and machine capabilities, especially for very large datasets. The authors are exploring ways to accept even larger datasets.
  • Browser Dependency: The performance of interactive visualizations is dependent on browser capabilities, with Google Chrome showing the best results in their tests.
  • Future Development: The authors plan to implement parallel algorithms for affinity propagation and hierarchical clustering. They also aim to incorporate modules for exporting clustering results to other web servers for further integrative analyses, such as gene ontology and gene set enrichment analysis. An alternative approach for handling very large datasets might involve visualizing only user-selected samples after clustering.

Summary updated

BibTeX
@article{manjunath2018clustereng,
  author = {Mohith Manjunath and Yi Zhang and Yeonsung Kim and Steve H. Yeo and Omar Sobh and Nathan Russell and Christian Followell and Colleen Bushell and Umberto Ravaioli and Jun S. Song},
  title = {{ClusterEnG: an interactive educational web resource for clustering and visualizing high-dimensional data}},
  journal = {Peerj Comput. sci},
  year = {2018},
  doi = {10.7717/peerj-cs.155},
}
Figure