Skip to main content

Grammar of Graphics for shu.

Project description

This is alpha software and very subject to change!

A utility package to transform dataframes into shu data.

Shu grammar graphics schema.

Example

(
    ggmap(
        df_cond,
        aes(reaction="r", color="flux", size="flux", condition="cond", y="kcat"),
    )
    # plot flux to color and size of reactions
    + geom_arrow()
    # plot kcat as histogram shows on left side of reactions
    + geom_hist(side="left")
    # plot conc to color of metabolites
    + geom_metabolite(aes=aes(color="conc", metabolite="m"))
    # plot km as density plots shows on hover on metabolites
    + geom_kde(aes=aes(y="km"), mets=True)
).to_json("shu_data")

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

ggshu-0.2.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file ggshu-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ggshu-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for ggshu-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d7c9a1f9cb2dc471ca174837812fa2653e8368f26913483f7ac8f0966e450f70
MD5 1f9dffd1da8e36f39ab9838bc8be411c
BLAKE2b-256 5d9969c420b54f38169bf8b41f8fea883d3f5620989ae178e064f8dc156f048e

See more details on using hashes here.

Supported by

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