context("Phred score")
f <- system.file("files/example_1.fastq.gz", package = "ngstools")
d <- get_phred(f)
test_that("result is correct", {
expect_is(d, "data.frame")
expect_true(nrow(d) == 1L)
expect_identical(d[, "phred"], "phred33")
})
d <- get_bowtie2_phred(f)
test_that("result is correct", {
expect_is(d, "data.frame")
expect_true(nrow(d) == 1L)
expect_identical(d[, "phred"], "--phred33")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.