plot_read_length {qckitfastq} | R Documentation |
Plot a histogram of the number of reads with each read length.
plot_read_length(read_len, output_file = NA)
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. |
A histogram of the read length distribution.
Wenyue Xing, wenyue_xing@brown.edu, August Guang, august_guang@brown.edu
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)