Description Usage Arguments Value Examples
Plot a wave representation of bacteria based on relative abundance data. Microwave takes as input a data frame of microbial abundances and generates a set of points for each taxon that are randomly asigned a position in a wave with an arbitrary colour and size. This produces an image with an aesthetically pleasing view of an individual's microbiome profile with the intended use for participant engagement. The aim is that participants can receive an abstract view of their own microbiome. The wave can be produced with or without a corresponding epithelial layer - maybe of use to folk that do not work on gut samples but would like a visual representation of individual microbiomes.
1 2 |
abundances |
a data frame object |
with_image |
do you want to include the epithelium? Deafults to TRUE |
background |
colour of background in the plots (colours supported in the generic R colour palettes) |
text |
include text above the plot. Defaults to no text. |
.png files with plots per sample (columns in abundance data frame)
1 | microwave(genus_abundances, with_image=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.