read_length: Creates a data frame of read lengths and the number of reads...

Description Usage Arguments Value Examples

View source: R/read_length.R

Description

Creates a data frame of read lengths and the number of reads with that read length.

Usage

1
read_length(fseq, output_file = NA)

Arguments

fseq

a seqTools object produced by seqTools::fastqq on the raw FASTQ file

output_file

File to save data frame to. Default NA.

Value

Data frame of read lengths and number of reads with that length.

Examples

1
2
3
4
infile <- system.file("extdata","test.fq.gz",
    package = "qckitfastq")
fseq <- seqTools::fastqq(infile,k=6)
read_len <- read_length(fseq)

Example output

[fastqq] File ( 1/1) '/usr/lib/R/site-library/qckitfastq/extdata/test.fq.gz'	done.

qckitfastq documentation built on Nov. 8, 2020, 5:24 p.m.