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

gggenomes works in webR #196

Open
iimog opened this issue Jul 26, 2024 · 1 comment
Open

gggenomes works in webR #196

iimog opened this issue Jul 26, 2024 · 1 comment

Comments

@iimog
Copy link
Collaborator

iimog commented Jul 26, 2024

I just realized, that it is possible to run gggenomes in webR in the browser 🤯
Thanks to r-universe building a wasm package for us, we can go to the webR repl: https://webr.r-wasm.org/latest/ and install gggenomes there.

install.packages('gggenomes', repos = c('https://thackl.r-universe.dev', 'https://repo.r-wasm.org'))

That's it. We can then use gggenomes, e.g. to run the example:
image

I think this is super nice! It allows anyone to run gggenomes without installing anything locally. It also offers the possibility to provide interactive documentation 😎

@iimog
Copy link
Collaborator Author

iimog commented Sep 30, 2024

I further experimented a little bit with shiny and shinylive. Here is a minimal interactive example of gggenomes running in the web using shinylive: http://biomeds.github.io/shiny-gggenomes/site
Repo (also with local shiny version): https://github.com/BioMeDS/shiny-gggenomes

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

No branches or pull requests

1 participant