testthat::test_that("dissimilarity_score", {
v <- c("SIINFEKL")
skip_pred_tools()
st <- v %>% dissimilarity_score(db = "human", aval = 52)
testthat::expect_equal(
st[, dissimilarity] %>% format(digits = 5),
c("1")
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.