Description Usage Arguments Value Examples
View source: R/summaryAnalysis.R
Subtracts the background fluorescence of a given control strain from the chosen column.
1 2 3 4 5 6 | addbs(
flowData,
column = "FL3.Amean",
baseline_column = "strain",
baseline = "noYFP"
)
|
flowData |
the summary data frame of flowSet to be background subtracted |
column |
the column containing the fluorescent measurement to be background subtracted |
baseline_column |
the column containing the name of the strain representing background fluorescent values |
baseline |
|
A summary data frame with an additional column "column_bs" containing the background subtracted fluorescent values
1 2 3 4 5 6 7 8 9 10 | dat<-read.flowSet(path=system.file("extdata", "tc_example",
package = "flowTime"),alter.names = TRUE)
annotation <- read.csv(system.file("extdata", "tc_example.csv",
package = "flowTime"))
annotation[which(annotation$treatment == 0), 'strain'] <- 'background'
adat <- annotateFlowSet(dat, annotation)
loadGates(gatesFile = 'C6Gates')
dat_sum <- summarizeFlow(adat, ploidy = 'diploid', only = 'singlets',
channel = 'FL1.A')
dat_sum <- addbs(dat_sum, column = "FL1.Amean", baseline = "background")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.