Description Usage Arguments Value Author(s) Examples
View source: R/plateWelltoX.fn.R
a function to generate value in x-axis based on plate number and well positions in a plate.
1 | plateWelltoX.fn(data.df, nRow = 16, nCol = 24, byRow = TRUE)
|
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 |
a data frame
Xiaohua Douglas Zhang 2017
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.