test_that("calculate works", {
data <- read_hmmer_from_xml(
xml_file_paths = "phmmer_example.xml",
fullseq_fasta_paths = "phmmer_example.fa")
HMMER_tidy_tbl <- extract_from_HMMER_data_tbl(data)
suppressWarnings({
calculate_physicochemical_properties(HMMER_tidy_tbl$hits.fullseqfasta) %>%
write.csv("properties.csv")
}
)
testthat::expect_snapshot_file("properties.csv")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.