Extract elements from FastqcDataList Object
# S4 method for class 'FastqcDataList,numeric,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastqcDataList,character,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastqcDataList,logical,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastqcDataList,ANY,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastpDataList,numeric,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastpDataList,character,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastpDataList,logical,missing'
x[i, j, ..., drop = TRUE]
# S4 method for class 'FastpDataList,ANY,missing'
x[i, j, ..., drop = TRUE]
Will return a subset of the original object following the standard rules for subsetting objects
Extract elements in a consistent manner with R conventions
# 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]
#> FastqcDataList for 1 files.
fdl[[1]]
#> FastqcData for ATTG_R1.fastq
#> Source Fastq file contains 24,978 reads.
#> Source FastQC file is located in /__w/_temp/Library/ngsReports/extdata/ATTG_R1_fastqc.zip