thackl / gggenomes

A grammar of graphics for comparative genomics
https://thackl.github.io/gggenomes/
Other
581 stars 64 forks source link

gggenomes works in webR #196

Open iimog opened 1 month ago

iimog commented 1 month ago

I just realized, that it is possible to run gggenomes in webR in the browser :exploding_head: 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 :sunglasses: