readTotals: Get the read totals

Description Usage Arguments Value Examples

View source: R/readTotals.R

Description

Get the read totals from one or more FASTQC reports

Usage

1

Arguments

x

Can be a FastqcData, FastqcDataList or file paths

Value

A tibble with the columns Filename and Total_Sequences

Examples

1
2
3
4
5
6
7
8
9
# Get the files included with the package
packageDir <- system.file("extdata", package = "ngsReports")
fl <- list.files(packageDir, pattern = "fastqc.zip", full.names = TRUE)

# Load the FASTQC data as a FastqcDataList object
fdl <- FastqcDataList(fl)

# Print the read totals
readTotals(fdl)

ngsReports documentation built on Nov. 23, 2020, 2:01 a.m.