@@ -49,6 +49,13 @@
Loading
49 49
                        otu_table = NULL, otu_id_col = "otu_id",
50 50
                        sample_data = NULL, sample_id_col = "sample_id",
51 51
                        phy_tree = NULL) {
52 +
  
53 +
  # Check that phyloseq is intalled
54 +
  if (! requireNamespace("phyloseq", quietly = TRUE)) {
55 +
    stop('The "phyloseq" package needs to be installed for this function to work.',
56 +
         call. = FALSE)
57 +
  }
58 +
  
52 59
  # Get and check OTU table
53 60
  otu_table <- get_expected_data(obj, input = otu_table, default = "otu_table",
54 61
                                 expected_class = "data.frame")
Files Coverage
R 58.27%
src/repel_boxes.cpp 59.07%
Project Totals (24 files) 58.34%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading