knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
library(rbims)
devtools::load_all()

Let's load the dbcan3 data:

dbcan_profile <-read_dbcan3(dbcan_path = "../inst/extdata/test_data/", 
                            profile = T, 
                            write = F)

For dbCAN the functions plot_heatmap and plot_bubble can be used as well.

plot_heatmap(dbcan_profile, 
             y_axis=dbCAN_family, 
             analysis = "dbCAN", 
             distance = T)
plot_bubble(dbcan_profile, 
            y_axis=dbCAN_family, 
            x_axis=Bin_name, 
            calc = "Binary",
            analysis = "dbCAN")


mirnavazquez/RbiMs documentation built on April 17, 2025, 7:37 p.m.