Description Usage Arguments Details Value Examples
View source: R/apply_template.R
apply_template
combines plate read data with metadata from a template,
producing a data frame that contains both the read values along with
additional information such as strain, medium, drug concentration, etc.
1 2 3 4 5 6 7 | apply_template(plate, template, ...)
## S3 method for class 'data.frame'
apply_template(plate, template, ...)
## S3 method for class 'softermax.plate'
apply_template(plate, template, ...)
|
plate |
Either a |
template |
A data frame containing information about wells in a plate.
See |
... |
Additional arguments passed to |
By default, the resulting data frame will contain data only for the wells
specified in the template. To include all wells in the plate data (but not
necessarily also in the template), use the argument all.x = TRUE
. To
include all wells specified in both, use the argument all = TRUE
.
A data frame
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(softermax)
d1 <- read_softmax_xml("myfile.xml")
p1 <- d1$experiments[["Experiment#1"]]$plates[["Plate#1"]]
template <- read_softmax_template("plate_template.txt")
annotated <- apply_template(p1, template)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.