getUnames: Get well unique names

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

View source: R/imageHTS.R

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

1
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.

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.

Value

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

Author(s)

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

See Also

prw2uname, uname2prw, getWellFeatures

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## 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

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