mp_plot_upset {MicrobiotaProcess} | R Documentation

## Plotting the different number of OTU between group via UpSet plot

### Description

Plotting the different number of OTU between group via UpSet plot

### Usage

    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, ...)

### Arguments

`.data` | MPSE obejct or tbl_mpse object
`.group` | the column name of group
`.upset` | the column name of result after run `mp_cal_upset`
`...` | additional parameters, meaningless now.

### Author(s)

Shuangbin Xu

### Examples

    ## 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)

[Package MicrobiotaProcess version 1.4.4 Index]