tests/testthat/test-distmat_ord_table.r

test_that("distmat_ord_table", {
  
  dm15 <- expect_silent(bdiv_distmat(rare50[1:15]))
  expect_silent(distmat_ord_table(dm15, ord = "PCoA"))
  
  skip_on_cran()
  
  dm40 <- expect_silent(bdiv_distmat(rare50[1:40]))
  expect_silent(distmat_ord_table(dm15, ord = "PCoA"))
  expect_silent(distmat_ord_table(dm15, ord = "tSNE"))
  expect_silent(distmat_ord_table(dm15, ord = "UMAP"))
  expect_silent(distmat_ord_table(dm40, ord = "NMDS"))
  
})

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.