Description Usage Arguments Details Examples
The countTextLines function takes a filename vector and returns the number of lines contained in each file.
1 | countTextLines(filenames)
|
filenames |
Character. Vector of file-names to be opened. |
Fastq files usually (but not guaranteed) contain four lines of text for each read. In many cases, this function can be used to count the number of reads in a fastq file.
1 2 | filename <- system.file("extdata", "test.fastq", package="rbamtools")
countTextLines(filename)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.