rqcReadFrequencyCalc {Rqc} | R Documentation

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

### Author(s)

Welliton Souza

### Examples

    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)

[Package Rqc version 1.20.0 Index]