context("StructuralVariant")
test_that("StructuralVariant", {
data(deletions)
deletions <- sort(deletions)
expect_identical(variant(deletions), sort(variant(deletions)))
expect_identical(length(deletions[1]), 1L)
expect_is(deletions[1], "StructuralVariant")
expect_is(calls(deletions), "character")
expect_is(variant(deletions), "GRanges")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.