Description Usage Arguments Value Examples
The function parses the block of text of a particular test and returns a tidy data.frame. The block of relevant text is first identified by a start and and end line numbers and parsed as strings which is split later and made a data.frame of.
1 | parse_data(txt, start, end)
|
txt |
A |
start |
An |
end |
An |
A data.frame
of the test data.
1 2 3 4 5 | fl <- system.file("extdata", "sample_1.txt", package = "Rfastqc")
txt <- readLines(fl)
tst <- parse_test(txt)
ind <- parse_index(txt, tst)
dat <- parse_data(txt, start = ind$start[1], ind$end[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.