subsetByPair: Subset RqcResultSet object by pair files.

Description Usage Arguments Value Author(s) Examples

View source: R/subsetByPair.R

Description

This function subsets RqcResultSet object function by pair files.

Usage

1
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

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

labbcb/Rqc documentation built on Aug. 2, 2021, 8:43 a.m.