Skip to content

hms-dbmi/cellpop

Folders and files

NameName
Last commit message
Last commit date
Dec 2, 2024
Mar 28, 2024
Jan 27, 2025
Jan 19, 2024
Feb 12, 2025
Jan 31, 2025
Oct 3, 2024
Mar 15, 2024
Dec 20, 2024
Nov 21, 2024
Oct 3, 2024
Dec 19, 2024
Mar 26, 2024
Aug 30, 2024
Jan 31, 2025
Jan 21, 2025
Jan 22, 2025
Jan 22, 2025

Repository files navigation

NOTE: This project is a work in progress.

CellPop: Cell Type Composition Explorer

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.

Why CellPop?

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.

How to run

This project uses pnpm.

Install dependencies with:

pnpm install

Run the demo with:

pnpm run dev

Demo

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: Screen shot of cell pop with 29 samples and arrows explaining interactions.

Team

HiDIVE Lab