test_that("Calculate similarity matrix", {
data(zikv_align_reduced)
data(zikv_tree_reduced)
tree <- addMSA(tree = zikv_tree_reduced,
alignment = zikv_align_reduced)
tipNames <- as.phylo(tree)[["tip.label"]]
simMatrix <- similarityMatrix(tree)
expect_identical(colnames(simMatrix), tipNames)
expect_identical(row.names(simMatrix), tipNames)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.