mp_plot_venn {MicrobiotaProcess} | R Documentation

## Plotting the different number of OTU between groups with Venn Diagram.

### Description

Plotting the different number of OTU between groups with Venn Diagram.

### Usage

    mp_plot_venn(.data, .group, .venn = NULL, ...)

    ## S4 method for signature 'MPSE'
    mp_plot_venn(.data, .group, .venn = NULL, ...)

    ## S4 method for signature 'tbl_mpse'
    mp_plot_venn(.data, .group, .venn = NULL, ...)

    ## S4 method for signature 'grouped_df_mpse'
    mp_plot_venn(.data, .group, .venn = NULL, ...)

### Arguments

`.data` | MPSE object or tbl_mpse object
`.group` | the column names of group to be visualized
`.venn` | the column names of result after run `mp_cal_venn`.
`...` | additional parameters, meaningless now.

### Author(s)

Shuangbin Xu

### Examples

    ## Not run:
    data(mouse.time.mpse)
    mpse <- mouse.time.mpse %>%
            mp_rrarefy() %>%
            mp_cal_venn(.abundance=RareAbundance, .group=time, action="add")
    mpse
    p <- mpse %>% mp_plot_venn(.group=time, .venn=vennOftime)
    p

    ## End(Not run)

[Package MicrobiotaProcess version 1.4.4 Index]