[ {ngsReports} | R Documentation |
Extract elements from FastqcDataList Object
## 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]
x |
A FastqcDataList |
i |
character, logical or integer vector |
j |
not used |
... |
not used |
drop |
not used |
Extract elements in a consistent manner with R conventions
Will return a subset of the original object following the standard rules for subsetting objects
# 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]]