filter_summary_bar_density: Data visualization by bar plot / density plot

Description Usage Arguments Value Examples

View source: R/filter_summary_bar_density.R

Description

Data visualization by bar plot / density plot

Usage

1
filter_summary_bar_density(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

1
2
3
4
5
6
7
data_dir = system.file('extdata/MAE.rds', package = 'animalcules')
toy_data <- readRDS(data_dir)
result <- filter_summary_bar_density(toy_data,
                                 samples_discard = c('subject_2', 'subject_4'),
                                 filter_type = 'By Metadata',
                                 sample_condition = 'SEX')
result

animalcules documentation built on Nov. 8, 2020, 6:47 p.m.