library(richcleaner)
pheat_test <- rich_pheatmap(gsea, fdr_threshold = 0.01, gs = "GOBPs", value = "n_logp_sign")
test_that("rich_graphs is a pheatmap", {
expect_identical(
class(pheat_test), "pheatmap")
})
test_that("rich_graphs", {
expect_snapshot_value(
pheat_test, style = "serialize")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.