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

Description Usage Arguments Value Author(s) Examples

View source: R/plot_read_length.R

Description

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

Usage

1
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

1
2
3
4
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)

compbiocore/qckitfastq documentation built on Sept. 20, 2019, 9:30 a.m.