tests/testthat/test_fastq.R

## The first read here is missing a quality value, so is invalid
testString <- c("read1\nAAAAAA\n+\n!!!!!", "read2\nCCCCCC\n+\n!!!!!!", NULL)

fastqResult <- .processFastqVec(testString)
expect_equal(length(fastqResult$invalid), 1)

Try the IONiseR package in your browser

Any scripts or data that you put into this service are public.

IONiseR documentation built on Nov. 8, 2020, 6 p.m.