Description Usage Arguments Details Value See Also Examples
View source: R/primary_analysis.R
extract.well.mappings
takes plate list and content data and extracts
the actual 96->384 well mapping used in the analysis, as opposed to
the default one observed in the initial test case.
1 | extract.well.mappings(plate.list.data, plate.content.data, analysis.code)
|
plate.list.data |
Data frame of plate list data |
plate.content.data |
Data frame of plate content report data |
analysis.code |
Character vector: case-sensitive letter A-H for run code |
The output is sorted lexicographically by 96 well label. Replicate assignments (1 vs 2 vs 3) are similarly resolved by lexicographical sort of the 384 well labels. This should compel the output to exactly match the previous protocol's Data/Analysis/*xlsx format if used without further shuffling.
List with entries Rep1.Well, Rep2.Well, Rep3.Well, corresponding to columns in the Data/Analysis/*xlsx files. Each will be a factor.
create.analysis()
for calling function;
openxlsx::read.xlsx()
for an example of how to generate the plate
list or content data frames.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | content.filename <- "PlateContentReport_GP0317-TL1.xls"
list.filename <- "PlateList_GP0317-TL1.xls"
content.data <- openxlsx:read.xlsx(content.filename,
sheet = 1,
rowNames = FALSE, colNames = TRUE
)
list.data <- openxlsx::read.xlsx(list.filename,
sheet = 1,
rowNames = FALSE, colNames = TRUE
)
analysis.code <- "H"
well.mappings <- extract.well.mappings(
list.data, content.data,
analysis.code
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.