plotomics (Python)
High-performance bioinformatics visualization widgets backed by a shared JavaScript core, exposed to Python through anywidget.
Works in Jupyter, JupyterLab, marimo, Google Colab, VS Code, Shiny for Python and Streamlit. Large numeric columns are shipped to the browser as a single binary buffer (not JSON), so millions of points stay interactive.
import numpy as np, pandas as pd
from plotomics import Volcano
n = 200_000
df = pd.DataFrame({
"x": np.random.randn(n), # log2 fold change
"y": np.abs(np.random.randn(n)) * 3, # -log10 p-value
"label": [f"GENE{i}" for i in range(n)],
})
Volcano(df, fc_threshold=1.0, p_threshold=0.05)
Install
pip install plotomics
Shiny for Python
The widgets are anywidgets, so they render in Shiny for Python through
shinywidgets: output_widget
in the UI, @render_widget on the server:
from shiny import App, ui
from shinywidgets import output_widget, render_widget
from plotomics import Volcano
import numpy as np, pandas as pd
app_ui = ui.page_fluid(output_widget("plot"))
def server(input, output, session):
@render_widget
def plot():
n = 100_000
df = pd.DataFrame({"x": np.random.randn(n), "y": np.abs(np.random.randn(n)) * 3})
return Volcano(df)
app = App(app_ui, server)
Development
The widget JS is built from the monorepo root and copied into
src/plotomics/static/:
pnpm dist # build JS + sync bundles into this package
pip install -e ".[dev]"
pytest
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file plotomics-0.1.0.tar.gz.
File metadata
- Download URL: plotomics-0.1.0.tar.gz
- Upload date:
- Size: 2.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
30f661521a0d2ad40015bf35f4d220d0c42d259d2cb294abc1cb3d0a27dfd603
|
|
| MD5 |
0641086314647a8749837d27c4bb6506
|
|
| BLAKE2b-256 |
01bd0ce2ab0037fa8b489413e596d6d443443e975912b2ac418722c56bdb82d6
|
Provenance
The following attestation bundles were made for plotomics-0.1.0.tar.gz:
Publisher:
release.yml on samuelbharti/plotomics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plotomics-0.1.0.tar.gz -
Subject digest:
30f661521a0d2ad40015bf35f4d220d0c42d259d2cb294abc1cb3d0a27dfd603 - Sigstore transparency entry: 2458410778
- Sigstore integration time:
-
Permalink:
samuelbharti/plotomics@99e1238ffb9258fd0271328d3f5a15086e494c51 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/samuelbharti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@99e1238ffb9258fd0271328d3f5a15086e494c51 -
Trigger Event:
push
-
Statement type:
File details
Details for the file plotomics-0.1.0-py3-none-any.whl.
File metadata
- Download URL: plotomics-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b520504d259c146a9c4e1b4983ef8d77ada589ce249a22ecd8eaf5344bb2b23
|
|
| MD5 |
e011ebca0c83c59c54e661cd492ef8f6
|
|
| BLAKE2b-256 |
6966cd0438caa26c37d7e27b3bf5f0a0258cfdfe0803474d07d8b8eb7a7ad61c
|
Provenance
The following attestation bundles were made for plotomics-0.1.0-py3-none-any.whl:
Publisher:
release.yml on samuelbharti/plotomics
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plotomics-0.1.0-py3-none-any.whl -
Subject digest:
7b520504d259c146a9c4e1b4983ef8d77ada589ce249a22ecd8eaf5344bb2b23 - Sigstore transparency entry: 2458410957
- Sigstore integration time:
-
Permalink:
samuelbharti/plotomics@99e1238ffb9258fd0271328d3f5a15086e494c51 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/samuelbharti
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@99e1238ffb9258fd0271328d3f5a15086e494c51 -
Trigger Event:
push
-
Statement type: