subsetByPair {Rqc} | R Documentation

## Subset RqcResultSet object by pair files.

### Description

This function subsets RqcResultSet object function by pair files.

### Usage

    subsetByPair(rqcResultSet, pair)

### Arguments

`rqcResultSet` | list of `RqcResultSet` objects created by `rqc` and `rqcQA` functions.
`pair` | index of the pair

### Value

list of `RqcResultSet` objects from only one pair.

### 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")
    perFileInformation(subsetByPair(rqcResultSet, 1))

[Package Rqc version 1.24.0 Index]