Learn R Programming

Rqc (version 1.6.2)

rqcReadFrequencyCalc: Read frequency plot

Description

This function creates a bar graph of read frequency (in percentage).

Usage

rqcReadFrequencyCalc(rqcResultSet)
rqcReadFrequencyPlot(rqcResultSet)

Arguments

rqcResultSet
list of RqcResultSet objects created by rqc and rqcQA functions.

Value

Plot object from ggplot function.

Functions

  • rqcReadFrequencyCalc: calculates necessary statistics

Examples

Run this code

checkpoint("Rqc", path=system.file(package="Rqc", "extdata"), {
  folder <- system.file(package="ShortRead", "extdata/E-MTAB-1147")
  files <- list.files(full.names=TRUE, path=folder)
  rqcResultSet <- rqcQA(files, pair=c(1,1), workers=1)
}, keep="rqcResultSet")
rqcReadFrequencyPlot(rqcResultSet)

Run the code above in your browser using DataLab