R: Search for APD map files in multiple directories

findApdMap {aroma.apd} | R Documentation

## Search for APD map files in multiple directories

### Description

Search for APD map files in multiple directories.

### Usage

    ## Default S3 method:
    findApdMap(mapType=NULL, paths=NULL, pattern="[.](a|A)(p|P)(m|M)$", ...)

### Arguments

`mapType` | A `character` string of the map type to search for.
`paths` | A `character` `vector` of paths to be searched. The current directory is always searched at the beginning. If `NULL`, default paths are searched. For more details, see below.
`pattern` | A regular expression file name pattern to match.
`...` | Additional arguments passed to `findFiles`.

### Details

Note, the current directory is always searched at the beginning. This provides an easy way to override other files in the search path. If `paths` is `NULL`, then a set of default paths are searched. The default search path is consituted of:

1. `"."`

2. `getOption("AFFX_APD_PATH")`

3. `Sys.getenv("AFFX_APD_PATH")`

One of the easiest ways to set system variables for R is to set them in an `.Renviron` file, see `Startup` for more details.

### Value

Returns a `vector` of the full pathnames of the files found.

### Author(s)

Henrik Bengtsson

[Package aroma.apd version 0.6.0 Index]