test_that("dssConsensusOPLS works", {
datashield.assign(opals['server1'], 'X', as.symbol('demo_3_Omics[1:3]'))
x <- dssConsensusOPLS( async = FALSE, datasources = opals["server1"], data = 'X', Y='demo_3_Omics$Y')
expect_equal(x$server1@modelType, 'da')
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.