NOTE: This project is a work in progress.
CellPop is a visualization tool for cell type compositions. It is an NPM package that exports various functions and to create a D3 visualization from various file types.
Cell type populations are commonly shown with stacked bar charts. However, scaling the number of samples and cell types in these visualizations create issues with analyzing these charts. CellPop alleviates this by presenting a flexible heatmap and side views with extending layered bar charts.
This project uses pnpm.
Install dependencies with:
pnpm install
Run the demo with:
pnpm run dev
The demo folder contains three demo's:
- The combination of index.jsx and demo.jsx are a React demo, using the HuBMAP data loaders and CellPopComponent, which includes the option bar.
- Main.js is a JavaScript only demo that uses the HuBMAP data loaders and the mainVis function to create the visualization.
- Animation.js shows an animation of how a stacked bar chart converts to the CellPop view.
The React demo is available here.
The main view and interactions:
- Thomas C. Smits ([email protected])
- Nils Gehlenborg ([email protected])