filter_summary_top {animalcules} | R Documentation

## Data visualization by pie chart

### Description

Data visualization by pie chart

### Usage

    filter_summary_top(MAE, samples_discard, filter_type, sample_condition)

### Arguments

`MAE` | A multi-assay experiment object
`samples_discard` | The list of samples to filter
`filter_type` | Either 'By Microbes' or 'By Metadata'
`sample_condition` | Which condition to check e.g. 'SEX'

### Value

A plotly object

### Examples

    data_dir = system.file('extdata/MAE.rds', package = 'animalcules')
    toy_data <- readRDS(data_dir)
    result <- filter_summary_top(toy_data,
                                 samples_discard = c('subject_2', 'subject_4'),
                                 filter_type = 'By Microbes',
                                 sample_condition = 'SEX')
    result

[Package animalcules version 1.0.6 Index]