plateWelltoX.fn: Convert plate, row and column numbers to a series of values

Description Usage Arguments Value Author(s) Examples

View source: R/plateWelltoX.fn.R

Description

a function to generate value in x-axis based on plate number and well positions in a plate.

Usage

1
plateWelltoX.fn(data.df, nRow = 16, nCol = 24, byRow = TRUE)

Arguments

data.df

consists of three columns: plate names or index, rows and columns

nRow

number of rows in a plate

nCol

number of columns in a plate

byRow

whether the well series is arranged by row

Value

a data frame

Author(s)

Xiaohua Douglas Zhang 2017

Examples

1
2
3
4
5
plateID = rep(1:5, each=384)
  rowCore = rep(1:16, each=24); rows = rep(rowCore, 5)
  columnCore = rep(1:24, 16); columns = rep(columnCore, 5)
  data.df = data.frame(plateID, rows, columns)
  x.df = plateWelltoX.fn(data.df, nRow=16, nCol=24, byRow=TRUE)

Karena6688/qcSSMD documentation built on July 23, 2020, 9:50 a.m.