readTotals: Get the read totals

View source: R/readTotals.R

readTotalsR Documentation

Get the read totals

Description

Get the read totals from one or more FASTQC reports

Usage

readTotals(x)

Arguments

x

Can be a FastqcData, FastqcDataList, FastpData, FastpDataList or file paths

Value

A tibble with the columns Filename and Total_Sequences

Examples


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


UofABioinformaticsHub/fastqcReports documentation built on April 1, 2024, 5:29 p.m.