Learn R Programming

imageHTS (version 1.22.0)

getUnames: Get well unique names

Description

Build valid well unique names, according to the screen layout and to input filter arguments. Each well in the screen has an unique name, based on its plate, replicate, row and column indices.

Usage

getUnames(x, plate, replicate, row, col, content)

Arguments

x
An imageHTS object.
plate
An optional numeric vector indicating the plate indices to keep.
replicate
An optional numeric vector indicating the replicate indices to keep.
row
An optional numeric vector indicating the row indices to keep.
col
An optional numeric vector indicating the column indices to keep.
content
An optional character string indicating the well content type to keep.

Value

A character vector containing a set of well unique names that are compatible with the input filter arguments.

Details

Well content types are defined in the plateconf.txt configuration file. See getWellFeatures for details.

Well unique names can be also built and manipulated using prw2uname and uname2prw.

See Also

prw2uname, uname2prw, getWellFeatures

Examples

Run this code
## initialize imageHTS object using the local submorph screen
local = tempdir()
server = system.file('submorph', package='imageHTS')
x = parseImageConf('conf/imageconf.txt', localPath=local, serverURL=server)
x = configure(x, 'conf/description.txt', 'conf/plateconf.txt',
'conf/screenlog.txt')

getUnames(x, col=2)
getUnames(x, replicate=1, col=3)
getUnames(x, content='sample') ## get 'sample' wells
setdiff(getUnames(x), getUnames(x, content='empty')) ## get non-empty wells

Run the code above in your browser using DataLab