Description Usage Arguments Value Examples
View source: R/plotting_functions.R
plots two channels of a flowframe.
1 | ggplotDens(flowfile, channels, ...)
|
flowfile |
flowframe to be plotted |
channels |
a character vector of length 2, must contain channel names in the flowfile. |
... |
not used at the moment |
a ggplot object
1 2 3 4 5 6 7 8 9 10 11 12 | flowfile_path <- system.file("extdata", "B4_18_1.fcs",
package = "cyanoFilter",
mustWork = TRUE)
flowfile <- flowCore::read.FCS(flowfile_path, alter.names = TRUE,
transformation = FALSE, emptyValue = FALSE,
dataset = 1)
flowfile_nona <- cyanoFilter::noNA(x = flowfile)
flowfile_noneg <- cyanoFilter::noNeg(x = flowfile_nona)
flowfile_logtrans <- cyanoFilter::lnTrans(x = flowfile_noneg,
c('SSC.W', 'TIME'))
ggplotDens(flowfile_logtrans,
channels = c("FSC.HLin", "RED.R.HLin"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.