tests/testthat/test-TSNEPlot.R

test_that("TSNEPlot returns correct type", {
  data <- Data2[1:100,]
  data <- data %>%
    t() %>%
    data.frame()
  data <- cbind(rownames(data), data)
  colnames(data)[1] <- "ID"
  expect_type(TSNEPlot(File = data, NCluster = 4), "double")
})

Try the MBMethPred package in your browser

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

MBMethPred documentation built on Sept. 18, 2023, 5:13 p.m.