getWellIndex1D: Linearize the index of a well on a 16x24 well plate

Description Usage Arguments Value Examples

View source: R/getWellIndex.R

Description

Given row, column and possible image coordinates on a plate, get the corresponding index of a linearized representation

Usage

1
getWellIndex1D(row, col, img = NULL, n.img = 9)

Arguments

row

Row of the well, specified either by A:P, a:P, or 1:16

col

Column number of the well, specified by 1:24

img

NULL/Image number within the well, 1:9

Value

The linearized index; if img==NULL, range 1:384, else range: 1:3456

Examples

1
2
ind1 <- getWellIndex1D("B", 12, NULL)
ind2 <- getWellIndex1D(2, 12, 5)

nbenn/singleCellFeatures documentation built on May 23, 2019, 12:24 p.m.