well_to_num {platetools}R Documentation

Converts well labels to numbers

Description

Converts alpha-numeric well labels to numbers corresponding to positions within a microtitre plate. Either 96 or 384 well plate, in column-wise order or in a column snaking pattern.

Usage

well_to_num(wells, style = "normal", plate = 96)

Arguments

wells

Vector of well identifiers e.g "A01"

style

Either normal, starting at the left hand column at each row or in a snaking fashion. ('normal' or 'snake')

plate

Number of wells in the complete plate (96 or 384)

Value

Vector of numbers

Examples

well_to_num("A01")

well_to_num("P12", plate = 384)

well_to_num("P12", plate = 384, style = "snake")

wells <- c("A01", "A02", "A03")
well_to_num(wells)

[Package platetools version 0.1.7 Index]