tests/testthat/test-demo.R

# Converted from mts_tests() Demo mode. Quick subset run via mts_tests("Demo").

test_that("mts_mixModelCluster() returns a vector with the specified length", {
  multisepOutput <- mts_mixModelCluster(dataMatrix = depMapXPR_subset[1:2,], cores = cores)
  expect_length(multisepOutput, 2)
})

test_that("using a gene expression without log2 transformed values gives an output", {
  eDF_inverse <- 2^depMapXPR_subset
  expect_no_error(mts_mixModelCluster(dataMatrix = depMapXPR_subset[1:5,], cores = cores))
})

Try the MultiSEp package in your browser

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

MultiSEp documentation built on Aug. 27, 2026, 5:07 p.m.