Search for APD map files in multiple directories.
# S3 method for default
findApdMap(mapType=NULL, paths=NULL, pattern="[.](a|A)(p|P)(m|M)$", ...)
Returns a vector
of the full pathnames of the files found.
A character
string of the map type to search for.
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.
A regular expression file name pattern to match.
Additional arguments passed to findFiles
.
Henrik Bengtsson
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:
"."
getOption("AFFX_APD_PATH")
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.