parseImageConf: Instantiate an imageHTS object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/configure.R

Description

Instantiate an imageHTS object from a local or remote screen data repository.

Usage

1
parseImageConf(filename, localPath='myscreen', serverURL, access='cache')

Arguments

filename

A character string containing the name of the imageHTS configuration file. See Details.

localPath

A character string indicating the path to the project directory that contains (or will contain) the screen data. The directory must be writable and will be created if missing. All intermediate files created by imageHTS will be stored in this directory. Default is myscreen.

serverURL

An optional character string indicating the URL or path to the server from where to download the data, if not available in the local path.

access

A character string indicating how to access the data. Valid values are cache (the default), local and server. See fileHTS for details.

Details

parseImageConf gets access to the configuration file depending on the value of the access argument. If local, the file is loaded from the local path; if server, from the server and if cache parseImageConf tries to first load the file from the local path, and if not present, downloads it from the server. This dual repository feature is useful when screen images are stored in a different location from where they are analysed. See fileHTS for details.

The imageHTS configuration file is a DCF file which contains the following fields:

Use the command getImageConf to retrieve the configuration file from an imageHTS object.

Value

An imageHTS object.

Author(s)

Gregoire Pau, gregoire.pau@embl.de, 2010

See Also

imageHTS, fileHTS, configure, getImageConf

Examples

1
2
3
4
local = tempdir()
server = system.file('submorph', package='imageHTS')
x = parseImageConf('conf/imageconf.txt', localPath=local, serverURL=server)
getImageConf(x)

imageHTS documentation built on Nov. 8, 2020, 8:29 p.m.