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.
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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
ggshu-0.1.0-py3-none-any.whl
(6.4 kB
view hashes)