tests/testthat/test.polar_coords.R

context("polar_coords examples")
library(volcano3D)

test_that("polar_coords tests", {
  data(example_data)
  syn_polar <- polar_coords(outcome = syn_example_meta$Pathotype,
                            data = t(syn_example_rld))
  
  expect_equal(length(unique(syn_polar@df[[1]]$lab) ), 6)
    
})
KatrionaGoldmann/volcano3D documentation built on Aug. 28, 2023, 7:39 a.m.