Description Usage Arguments See Also Examples
This function is a modified version of densityplot from the flowViz package that allows for multiple flowFrames per panel. flowViz densityplot plots the density curves in a one per panel style, while the flowPlate densityplot can overlay densities.
1 2 3 4 5 6 7 | ## S4 method for signature 'formula,flowPlate'
densityplot(x, data, xlab,
prepanel=prepanel.densityplot.flowPlate,
panel = panel.densityplot.flowPlate,
as.table=TRUE,
filterResult=NULL,
...)
|
x |
A formula describing the layout of the plots. |
data |
A flowPlate. |
xlab |
Label for the x-axis |
prepanel |
Lattice-flowViz prepanel function. |
panel |
Lattice-flowViz panel function. |
as.table |
Defaults to table layout. |
filterResult |
filterResult can either take the character string "Negative.Control" and have the negative control wells added to the panels, or if filterResult is a flowFrame then the density curve for the flowFrame will be added to each panel. |
... |
optional arguments |
Other arguments are identical to densityPlot from flowViz.
1 2 3 4 5 6 7 8 9 10 11 | # Load the plateCore package and data
library(plateCore)
data(plateCore)
# Create a flowPlate from the sample data in plateCore
fp <- flowPlate(pbmcPlate,wellAnnotation,plateName="P1")
# Overlay the first 3 flowFrames. If the groups argument was
# omitted, then the flowFrames would be combined into a single
# density curve.
densityplot(~ `FSC-H`, fp[1:3], groups=name, auto.key=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.