test_that("imputation works", {
data(naset)
res1 <- impute(naset, method = "knn")
res2 <- MsCoreUtils::impute_knn(exprs(naset))
expect_identical(exprs(res1), res2)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.