Nothing
context("tune.mint.splsda")
test_that("perf.mint.splsda works", code = {
data(stemcells)
res = mint.splsda(
X = stemcells$gene,
Y = stemcells$celltype,
ncomp = 3,
keepX = c(5, 10, 15),
study = stemcells$study
)
out = perf(res, auc = FALSE)
expect_is(out, "perf")
expect_true(all(out$choice.ncomp == 1))
})
test_that("perf.mint.splsda works with custom alpha", code = {
data(stemcells)
res = mint.splsda(
X = stemcells$gene,
Y = stemcells$celltype,
ncomp = 3,
keepX = c(5, 10, 15),
study = stemcells$study
)
out = perf(res, auc = FALSE, alpha = 0.1)
expect_is(out, "perf")
expect_true(all(out$choice.ncomp == 1))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.