Resource of interactive data widgets
Project description
Living Figures
Collection of useful interactive data widgets
Widgets
The interactive data widgets provided in this repository have been created using the widgets library. The idea behind this approach is that the complete set of instructions needed to visualize a dataset can be packaged together in a single HTML file along with the data itself so that it can be viewed in any modern web browser. The underlying technology which enables this approach is Pyodide, as well as the stlite implementation of Streamlit.
Using the Store
All of the widgets provided in this store can be installed with:
pip install living-figures
Once installed, you can load your data into one of these widgets and save an interactive HTML file with:
from living_figures.bio.epigenome.widgets import PanEpiGenomeBrowser
from pathlib import Path
import pandas as pd
# Instantiate the object
lfig = PanEpiGenomeBrowser()
# Read in your data of interest (in this case epigenetic motif CSVs)
lfig._get_child(
"files",
"pacbio"
).parse_files(
Path('motif_folder').rglob('*.motifs.csv')
)
# Save an HTML file
lfig.to_html(Path("my_epigenomes.html"))
Project details
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
File details
Details for the file living-figures-0.2.0.tar.gz
.
File metadata
- Download URL: living-figures-0.2.0.tar.gz
- Upload date:
- Size: 34.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04153ddfa8d5e46d462ae703e8ff84819f661a93b4ceb78e7c8a6ebdf0324747 |
|
MD5 | 4fe594f7b6f0afd29d31d2030b45cfbd |
|
BLAKE2b-256 | 863897858657b1dad787d5531d2d676d36bbfc6492ab3f401975faa212e4d2f7 |
File details
Details for the file living_figures-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: living_figures-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 47.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8268b9c4ca1d3e9c64f74752d62201f7b2e67419bae19a9c7d37b68d9e105ad |
|
MD5 | bd62c1cbcb031417d2bc9a7e1d7c106d |
|
BLAKE2b-256 | 25c26dc84f280dde452898a323b76829166f6730ea3eeb53a1817c5769b8a282 |