plot_read_length {qckitfastq} | R Documentation

## 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

`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(s)

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

### Examples

    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)

[Package qckitfastq version 1.0.1 Index]