[ {ngsReports} | R Documentation

## Extract Elements

### Description

Extract elements from FastqcDataList Object

### Usage

    ## S4 method for signature 'FastqcDataList,numeric,missing,ANY'
    x[i, j, ..., drop = TRUE]

    ## S4 method for signature 'FastqcDataList,character,missing,ANY'
    x[i, j, ..., drop = TRUE]

    ## S4 method for signature 'FastqcDataList,logical,missing,ANY'
    x[i, j, ..., drop = TRUE]

    ## S4 method for signature 'FastqcDataList,ANY,missing,ANY'
    x[i, j, ..., drop = TRUE]

### Arguments

`x` | A FastqcDataList
`i` | character, logical or integer vector
`j` | not used
`...` | not used
`drop` | not used

### Details

Extract elements in a consistent manner with R conventions

### Value

Will return a subset of the original object following the standard rules for subsetting objects

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

    # Subsetting using the standard methods
    fdl[1]
    fdl[[1]]

[Package ngsReports version 1.4.2 Index]