Last data update: 2014.03.03

R: Lattice-flowViz style panel function for flowPlate xyplot.
prepanel.xyplot.flowPlateR Documentation

Lattice-flowViz style panel function for flowPlate xyplot.

Description

This function should not be called directly, use xyplot.

Usage

prepanel.xyplot.flowPlate(x, frames, channel.x, channel.y,...)

Arguments

x

Character

frames

flowFrames

channel.x

Character string for channel name.

channel.y

Character string for channel name.

...

optional arguments

Author(s)

Errol Strain

See Also

See Also xyplot

Examples

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)

Results


R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> library(plateCore)
Loading required package: flowCore
Loading required package: flowViz
Loading required package: lattice
Loading required package: latticeExtra
Loading required package: RColorBrewer

Attaching package: 'latticeExtra'

The following object is masked from 'package:flowViz':

    ecdfplot

sROC 0.1-2 loaded
No methods found in "flowStats" for requests: %on%
> png(filename="/home/ddbj/snapshot/RGM3/R_BC/result/plateCore/prepanel.xyplot.flowPlate.Rd_%03d_medium.png", width=480, height=480)
> ### Name: prepanel.xyplot.flowPlate
> ### Title: Lattice-flowViz style panel function for flowPlate xyplot.
> ### Aliases: prepanel.xyplot.flowPlate
> ### Keywords: methods
> 
> ### ** Examples
> 
> 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)
> 
> 
> 
> 
> 
> 
> dev.off()
null device 
          1 
>