context("Shared Clonality Functions")
data(wu_subset)
test_that("scatter_plot works", {
testthat::expect_type(barcodetrackR::scatter_plot(wu_subset[, 1:2]), "list")
})
# > Test passed 🥳
test_that("cor_plot works", {
testthat::expect_type(barcodetrackR::cor_plot(wu_subset[, 1:3]), "list")
testthat::expect_s3_class(barcodetrackR::cor_plot(wu_subset[, 1:3], return_table = TRUE), "data.frame")
})
# > Test passed 🥳
test_that("chord_diagram works", {
testthat::expect_type(barcodetrackR::chord_diagram(wu_subset[, 1:3]), "list")
testthat::expect_s3_class(barcodetrackR::chord_diagram(wu_subset[, 1:3], return_table = TRUE), "data.frame")
})
# > Test passed 🥳
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.