Return the File Paths from an object

# S4 method for class '.FastqcFile'
path(object)

# S4 method for class 'FastqcData'
path(object)

# S4 method for class 'FastqcDataList'
path(object)

# S4 method for class '.FastpFile'
path(object)

# S4 method for class 'FastpData'
path(object)

# S4 method for class 'FastpDataList'
path(object)

Arguments

object

An object of class .FastqcFile

Value

A character vector of the file paths to the underlying FastQC reports

Details

Obtains the file.path for objects of multiple classes

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)
path(fdl)
#> [1] "/__w/_temp/Library/ngsReports/extdata/ATTG_R1_fastqc.zip"
#> [2] "/__w/_temp/Library/ngsReports/extdata/ATTG_R2_fastqc.zip"
#> [3] "/__w/_temp/Library/ngsReports/extdata/CCGC_R1_fastqc.zip"
#> [4] "/__w/_temp/Library/ngsReports/extdata/CCGC_R2_fastqc.zip"
#> [5] "/__w/_temp/Library/ngsReports/extdata/GACC_R1_fastqc.zip"
#> [6] "/__w/_temp/Library/ngsReports/extdata/GACC_R2_fastqc.zip"