test_that('matrix transformations work', {
library(HiCdiff)
data('HMEC.chr22')
original = as.data.table(HMEC.chr22)
full = sparse2full(HMEC.chr22)
sparse = full2sparse(full)
expect_equal(original, sparse)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.