mp_plot_upset | R Documentation |
Plotting the different number of OTU between group via UpSet plot
mp_plot_upset(.data, .group, .upset = NULL, ...)
## S4 method for signature 'MPSE'
mp_plot_upset(.data, .group, .upset = NULL, ...)
## S4 method for signature 'tbl_mpse'
mp_plot_upset(.data, .group, .upset = NULL, ...)
## S4 method for signature 'grouped_df_mpse'
mp_plot_upset(.data, .group, .upset = NULL, ...)
.data |
MPSE obejct or tbl_mpse object |
.group |
the column name of group |
.upset |
the column name of result after run |
... |
additional parameters, see also 'scale_x_upset' of 'ggupset'. |
Shuangbin Xu
## Not run:
data(mouse.time.mpse)
mpse <- mouse.time.mpse %>%
mp_rrarefy(.abundance=Abundance) %>%
mp_cal_upset(.abundance=RareAbundance, .group=time)
mpse
p <- mpse %>% mp_plot_upset(.group=time, .upset=ggupsetOftime)
p
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.