parseImageConf(filename, localPath='myscreen', serverURL, access='cache')
myscreen
.cache
(the default), local
and
server
. See fileHTS
for details.imageHTS
object.
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:
PlateNames
, ReplicateNames
, RowNames
,
ColNames
and ChannelNames
.
SourceFilenamePattern
.
PlateNames
for the field {replicate}.
PlateNames
for the field {row}.
PlateNames
for the field {col}.
PlateNames
for the field {channel}.
Use the command getImageConf
to retrieve the configuration file
from an imageHTS
object.
imageHTS
, fileHTS
, configure
, getImageConf
local = tempdir()
server = system.file('submorph', package='imageHTS')
x = parseImageConf('conf/imageconf.txt', localPath=local, serverURL=server)
getImageConf(x)
Run the code above in your browser using DataLab