rnb.get.directory {RnBeads} | R Documentation

## 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.

### Author(s)

Yassen Assenov

### See Also

`Report` for functions adding contents to an HTML report

### Examples

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

[Package RnBeads version 2.2.0 Index]