start <- as.POSIXlt(Sys.time())
context("055annotation_uniprot.R")
## 2017-12, exported functions in annotation_gff:
## load_uniprot_annotations() download_uniprot_proteome()
## load_uniprot_annotations()
testing <- load_uniprot_annotations(species = "H37Rv")
expected <- c(3993, 76)
actual <- dim(testing)
test_that("Did we get the correct uniprot annotations?", {
expect_gt(actual[1], expected[1])
expect_gt(actual[2], expected[2])
})
end <- as.POSIXlt(Sys.time())
elapsed <- round(x = as.numeric(end - start))
message("\nFinished 055annotation_uniprot.R in ", elapsed, " seconds.")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.