test_that("use", {
# Local only
folder_name <- "~/GitHubs/ncbi_peregrine/scripts"
if (!dir.exists(folder_name)) return()
p <- plot_n_snps_per_tmp(folder_name = folder_name)
p
p ; ggplot2::ggsave(
file.path(folder_name, "fig_n_snps_per_tmp.png"),
width = 180, units = "mm",
height = 180
)
p ; ggplot2::ggsave(
file.path(folder_name, "fig_n_snps_per_tmp.tiff"),
width = 180, units = "mm",
height = 180
)
p ; ggplot2::ggsave(
file.path("~/fig_n_snps_per_tmp.png"),
width = 180, units = "mm",
height = 180
)
p ; ggplot2::ggsave(
file.path("~/fig_n_snps_per_tmp.tiff"),
width = 180, units = "mm",
height = 180
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.