Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEATURE REQUEST: Programatic access #44

Open
yaccos opened this issue Nov 2, 2023 · 1 comment
Open

FEATURE REQUEST: Programatic access #44

yaccos opened this issue Nov 2, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@yaccos
Copy link

yaccos commented Nov 2, 2023

Currently, Shu works as a GUI application where the metabolic map is shown on the screen and the map can be exported afterwards. However, I would be interested in a programatic way to interact with Shu (most likely a CLI interface) where I would specify the map and data files to import, choose a specific condition, modify the visualisation settings and exporting the map in a SVG format. This would be particulary useful in cases where I want to create figures for a large number of strains and don't have any desire to look at each one interactively.

@carrascomj carrascomj added the enhancement New feature or request label Nov 2, 2023
@carrascomj
Copy link
Member

My vision is that there are three different features here:

  • The user should be able to specify "theming" in the data file. This way, ggshu would have theme() or even scale_color_* functionalities that work as in ggplot2 or other grammar of graphics implementations.
  • Shu should provide programmatic access in native builds, specifying map and data as CLI arguments.
  • Shu should provide an entrypoint in WASM builds, to load map and data with javascript. This is implemented but it may require some changes to enable using shu in jupyter notebooks, which would be awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants