Learn R Programming

IGM.MEA (version 0.3.4.1)

axion.elec.name.to.xy:

axion.elec.name.to.xy

Description

Convert 1 or multple electrode names into the (x,y) position where it would be found on a plate.

Usage

axion.elec.name.to.xy(name, plateinfo)

Arguments

name
one or multiple channel names e.g. "E7_22". see example
plateinfo
a list with

Value

returns a matrix with number of rows equal to number of channels in data and 2 columns. Each row corresponds to an 'x' and 'y' coordinates of the channel location on a plate.

Details

Used to create coordinates for each electrode on a plate for plotting purposes.

See Also

plateinfo axion.guess.well.number

Examples

Run this code
# load data
data('S') 
wells <- axion.guess.well.number(S$channels)
array <- paste0("Axion ", wells, " well")
plateinfo <- plateinfo(array)
epos <- axion.elec.name.to.xy(S$channels, plateinfo)
##plot(epos)

Run the code above in your browser using DataLab