# Tests for tximport wrapper
context("test imporper input usage")
test_that("failure is as expected for wrong input", {
directories <- file.path("foo", "bar", 1:10)
files <- file.path(directories, "abundance.tsv")
expect_that(readTxResults(samples = 1:10, files = files,
type = "kallisto"),
throws_error("Some of the files provided do not exist!"))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.