remove_null {BRACoD.R} | R Documentation |
This will remove samples that are NULL in the environmental variable, as well as the corresponding samples in your relative abundance data.
remove_null(df_relab, Y)
df_relab |
microbiome relative abundance data in a dataframe |
Y |
values of the environmental variable |
a list containing 1) the relative abundance data and 2) the Y values