Learn R Programming

RnBeads (version 1.4.0)

rnb.get.directory: rnb.get.directory

Description

Gets the location of the given report-specific directory.

Usage

rnb.get.directory(report, dir = c("data", "images", "images-high", "pdfs"), absolute = FALSE)

Arguments

report
Report of interest.
dir
Type of directory to get. Must be one of "data", "images", "images-high" or "pdfs".
absolute
Flag indicating if the absolute path of the directory is to be returned. If this is FALSE, the directory name is returned relative to the report's HTML file location.

Value

Path of the requested directory as a single-element character vector.

See Also

Report for functions adding contents to an HTML report

Examples

Run this code

report <- createReport("example.html", "Example", init.configuration = TRUE)
rnb.get.directory(report, "data")

Run the code above in your browser using DataLab