Description Usage Arguments Author(s) See Also Examples
A function to create dotplots, and smoothed scatter plots, from flowPlates. This function is a slightly modified version of xyplot from flowViz. The flowPlate xyplot allows users to overlay plots of test samples versus controls, and makes creating informative flowStrips easier. Refer to the documentation for xyplot from flowViz and lattice for more detailed information.
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## S4 method for signature 'formula,flowPlate'
xyplot(x, data, xlab, ylab,
as.table = TRUE,
prepanel = prepanel.xyplot.flowPlate,
panel = panel.xyplot.flowPlate,
pch = ".", smooth = TRUE,
filter = NULL,
filterResults = NULL,
displayFilter = TRUE,
flowStrip=NULL,
flowStripCex=1,
strip=function(...,style=1) strip.default(...,style=1),
...)
|
x |
A formula describing the layout of the plots. Plots for flowPlates
usually condition on either |
data |
A flowPlate. |
xlab |
Label for x-axis. |
ylab |
Label for y-axis. |
as.table |
Defaults to table layout. |
prepanel |
Lattice-flowViz prepanel function. |
panel |
Lattice-flowViz panel function. |
pch |
Plotting character. |
smooth |
Plot a smoothed scatterplot by default. |
filter |
A flowCore filter to apply to each flowFrame. |
filterResults |
If filterResults="Negative.Control", the negative control wells corresponding to a test well are overlayed in the test well plots. |
displayFilter |
Defaults to displaying filter on the plot. |
flowStrip |
Character vector indicating additional information to be printed on the strip. Values can include any combination of "Well.Id","MFI","MFI.Ratio", and "Percent.Positive". |
flowStripCex |
Font size for the flowStrip. |
strip |
Lattice strip function. |
... |
Optional arguments |
Errol Strain
1 2 3 4 5 6 7 8 9 10 11 | library(plateCore)
data(plateCore)
# Create a flowPlate from the sample data in plateCore
fp <- flowPlate(pbmcPlate,wellAnnotation,plateName="P1")
## Create a rectangle filter
rectGate <- rectangleGate("FSC-H"=c(300,700),"SSC-H"=c(50,400))
xyplot(`SSC-H` ~ `FSC-H` | as.factor(name),
fp[1], smooth=FALSE, filter=rectGate, displayFilter=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.