This will remove samples that are NULL in the environmental variable, as well as the corresponding samples in your relative abundance data.
microbiome relative abundance data in a dataframe
values of the environmental variable
a list containing 1) the relative abundance data and 2) the Y values
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.