Nothing
skip_if_no_sma <- function() {
if (!reticulate::py_module_available("sma")) {
skip("sma not available for testing")
}
}
test_that("error is given for gap test in open motif", {
skip_if_no_sma()
expect_error(identify_gaps(ml_net, motif = "1,2[I.C]"))
})
test_that("error is given for gap test in closed motif", {
skip_if_no_sma()
expect_error(critical_dyads(ml_net, motif = "1,2[II.C]"))
})
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.