I am attempting to contribute a visualizer to the aldex2 plugin (R package), and I am running into a few walls. I have experience developing R packages, but next to none with the qiime2 framework and visualizing data using python.
I want to start with an x vs y-type plot. For my case, I can generate the artifact I need from my fork of the q2-aldex2 package from Jamie Morton’s Github.
From my understanding of the tutorial and docs, I believe I need to
- define a new semantic type for the artifact output from the method
- create a function to plot 2 columns of this artifact
- register the function
- output the visualization artifact
- view with the qiime visualizer
I am looking for resources on how to generate this plot, and define the semantic type. I have little (none) experience with visualizing data in python. It seems that seaborn is the python module that people are using, which is easy enough to learn, but I’m having trouble seeing how the plots in made with seaborn are outputted to the html page (or how to create these pages).
Any resources or tutorials, or even commented code for creating a simple plot using a visualizer would be very helpful!