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 Distribution

ggshu-0.1.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

ggshu-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file ggshu-0.1.0.tar.gz.

File metadata

  • Download URL: ggshu-0.1.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for ggshu-0.1.0.tar.gz
Algorithm Hash digest
SHA256 58f11c56514994f3ad56da4e113ec0108b33058e3785b9ea9841ab4ed50f494a
MD5 c0a0886060c89e80b2dbadab731adc8b
BLAKE2b-256 9f696ca3a26415c29e02bdf01a1b35a379292e0fcf017593071d9db19b48d68b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ggshu-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3696fbb238cc9ef2a34ea33f1230ebe3c183dcd4d74429f57ac1ba91d1c55372
MD5 564952d5e89fd03882820b3ae6244f3e
BLAKE2b-256 233c263160bed619f2e5d9a9e5604679a257ecab9b4d5ce1c63d02c1483e0f1e

See more details on using hashes here.

Supported by

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