Nothing
test_that("Create heatmap", {
tomic <- brauer_2008_triple %>%
filter_tomic(
filter_type = "category",
filter_table = "features",
filter_variable = "BP",
filter_value = c(
"protein biosynthesis",
"rRNA processing", "response to stress"
)
)
grob <- plot_heatmap(
tomic = tomic,
value_var = "expression",
change_threshold = 5,
cluster_dim = "rows",
plot_type = "grob",
distance_measure = "corr"
)
expect_s3_class(grob, "ggplot")
grob <- plot_heatmap(
tomic = tomic,
value_var = "expression",
change_threshold = 5,
cluster_dim = "both",
plot_type = "grob",
distance_measure = "dist"
)
expect_s3_class(grob, "ggplot")
plt <- plot_heatmap(
tomic = tomic,
value_var = "expression",
change_threshold = 5,
cluster_dim = "rows",
plot_type = "plotly",
distance_measure = "corr"
)
expect_s3_class(plt, "plotly")
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.