tests/testthat/test-taxa_heatmap.r

test_that("taxa_heatmap", {
  
  expect_silent(taxa_heatmap(hmp5, rank = 'Phylum'))
  
  skip_on_cran()
  
  expect_silent(taxa_heatmap(hmp5, rank = 'Phylum', legend = 'bottom', label = 'rows', trees = 'both'))
  expect_silent(taxa_heatmap(hmp5, rank = 'Phylum', label = 'cols', trees = 'none'))
  expect_silent(taxa_heatmap(hmp5, rank = c('Phylum', 'Class'), tracks = c('Sex', 'Age')))
  
})

Try the rbiom package in your browser

Any scripts or data that you put into this service are public.

rbiom documentation built on April 3, 2025, 6:39 p.m.