Skip to main content

Build Status PyPI Open In Colab

ExploSig Connect

Helpers for sending data from a Python environment to ExploSig (via ExploSig Server) for web-based interactive visualization.

Installation

pip install explosig-connect

Example Usage - Connecting to an existing session

>>> from explosig_connect import connect

>>> # Connect using a session ID supplied by ExploSig.
>>> session_id = 'af6242f3'
>>> conn = connect(session_id)

>>> # Obtain the SBS mutation counts matrix associated with the session.
>>> sbs_counts_df = conn.get_mutation_category_counts('SBS')

>>> # You run some custom code to derive better signature exposures.
>>> exposures_df = my_exposures_computation_method(sbs_counts_df)

>>> # Send the new exposures back to ExploSig for visualization.
>>> conn.send_exposures('SBS', exposures_df)

Example Usage - Starting a new session

>>> from explosig_connect import connect

>>> # Start a new 'empty' session with no samples, signatures, etc. selected.
>>> # This will attempt to open ExploSig in a new browser tab that starts the session.
>>> conn = connect()

>>> # Send an SBS mutation counts matrix to visualize.
>>> conn.send_mutation_category_counts('SBS', my_sbs_counts_df)

>>> # Send an exposures matrix to visualize.
>>> conn.send_exposures('SBS', my_sbs_exposures_df)

>>> # Send a signatures matrix to visualize.
>>> conn.send_signatures('SBS', my_sbs_signatures_df)

Development

Build and install from the current directory.

python setup.py sdist bdist_wheel && pip install .

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

explosig-connect-0.0.7.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

explosig_connect-0.0.7-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file explosig-connect-0.0.7.tar.gz.

File metadata

  • Download URL: explosig-connect-0.0.7.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.9

File hashes

Hashes for explosig-connect-0.0.7.tar.gz
Algorithm Hash digest
SHA256 a256972586218019759ed2085ec858f82a5b7b0cc71da98ee5498d76621d0dc7
MD5 37337c197dd1b3b269f90dcacd904564
BLAKE2b-256 cff5baeead68815a0fb893d3f94ba979820a2feee851a2ef86e8ae2ce13866f3

See more details on using hashes here.

File details

Details for the file explosig_connect-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: explosig_connect-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.9

File hashes

Hashes for explosig_connect-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 29e521e9e061b0329d6c2ddd31b6066fb7b29aa2835d14d2af13545e6245edbf
MD5 8cc9ebcf7c2eb7b076e6d37dd4ce6fad
BLAKE2b-256 740ab50bbdc55041a99dd163459c3f4fc0184ba027d2033e9f633efddc77e658

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page