readTotals {ngsReports} | R 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` 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)

[Package ngsReports version 1.10.0 Index]