context("Test is_gtf function")
data(query_gtf, query_exons)
test_that("Test the value of outputs", {
expect_equal(is_gtf(query_gtf), TRUE)
expect_equal(is_gtf(query_exons[1]), FALSE)
expect_equal(is_gtf(query_exons[[1]]), FALSE)
expect_equal(is_gtf(data.frame("name" = "Me")), FALSE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.