Description Usage Arguments Value Examples
View source: R/generalFunctions.R
Add annotations to a flowSets phenoData and plate numbers, strain names, and treatment also set T0
1 | annotateFlowSet(yourFlowSet, annotation_df, mergeBy = "name")
|
yourFlowSet |
a flowSet with sampleNames of the format 'plate#_Well', we typically use the following code chunk to read data from individual plates as exported from BD Accuri C6 software. |
annotation_df |
A data frame with columns 'well', 'strain', 'treatment', containing all of the wells in the flowset labeled with the strain and treatment in that well. |
mergeBy |
the unique identifier column |
An annotated flowSet
1 2 3 4 5 | dat <- read.flowSet(path = system.file("extdata", "ss_example",
package = "flowTime"), alter.names = TRUE)
annotation <- read.csv(system.file("extdata", "ss_example.csv", package =
"flowTime"))
annotateFlowSet(dat, annotation, mergeBy = "name")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.