Skip to content

plot_read_length: Plot a histogram of the number of reads with each read length.

Description

Plot a histogram of the number of reads with each read length.

Usage

plot_read_length(read_len, output_file = NA)

Arguments

Argument Description
read_len Data frame of read lengths and number of reads with that length.
output_file File to save plot to. Default is NA, i.e. do not write to file.

Value

A histogram of the read length distribution.

Author

Wenyue Xing, wenyue_xing@brown.edu , August Guang, august_guang@brown.edu

Examples

```r

infile <- system.file("extdata", "10^5_reads_test.fq.gz", package = "qckitfastq") fseq <- seqTools::fastqq(infile,k=6) read_len <- read_length(fseq) plot_read_length(read_len)

```