test_that("plot_frequency_histogram works", {
results <- load_example_results()[seq(500),]
fp_res <- plot_frequency_histogram(results=results)
testthat::expect_true(methods::is(fp_res$data$pheno_plot_df,"data.table"))
testthat::expect_true(methods::is(fp_res$data$gene_plot,"data.table"))
testthat::expect_true(methods::is(fp_res$plot,"patchwork"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.