Get the FASTQC version used to generate the intial files
# S4 method for class 'FastqcData'
fqcVersion(object)
# S4 method for class 'FastqcDataList'
fqcVersion(object)
# S4 method for class 'ANY'
fqcVersion(object)
A character vector (FastqcData), or tibble (FastqcDataList)
# 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)
# Get the FASTQC version
fqcVersion(fdl)
#> # A tibble: 6 × 2
#> Filename version
#> <chr> <chr>
#> 1 ATTG_R1.fastq 0.11.2
#> 2 ATTG_R2.fastq 0.11.2
#> 3 CCGC_R1.fastq 0.11.2
#> 4 CCGC_R2.fastq 0.11.2
#> 5 GACC_R1.fastq 0.11.2
#> 6 GACC_R2.fastq 0.11.2