Plot heatmap of sample level counts in logcpm
A multi-assay experiment object
The taxon level used for organisms
Sort bars by one of c('nosort', 'conditions', 'organisms', 'alphabetically')
Plot conditions e.g. c('SEX', 'AGE')
Isolate specific organisms e.g. c('Hepacivirus')
Isolate specific samples e.g. c('SAM_01', 'SAM_02')
Discard specific samples e.g. c('SAM_01', 'SAM_02')
Convert counts to logcpm
A plotly object
data_dir <- system.file("extdata/MAE.rds", package = "animalcules")
toy_data <- readRDS(data_dir)
p <- relabu_heatmap(toy_data,
tax_level = "genus",
sort_by = "conditions",
sample_conditions = c("SEX", "AGE")
)
p