Learn R Programming

curvHDR (version 1.2-2)

plot.curvHDRfilter: Plot a curvHDR filter.

Description

Takes an object of class curvHDR, produced by curvHDRfilter(), and then plots it together with (a subset of) the data.

Usage

# S3 method for curvHDRfilter
plot(x,removeDebri=TRUE,pch=NULL,cex=NULL,
                             bty=NULL,col=NULL,main=NULL,...)

Value

The function generates a plot.

Arguments

x

a fitted curvHDRfilter object as produced by curvHDRfilter().

removeDebri

Boolean flag for removal of `debri' points in the input data. The default value of removeDebri is TRUE.

pch

Plotting character specification.

cex

Character expansion factor.

bty

Box-type for the plotting frame.

col

Colour of the points.

main

Main label on the plot.

...

Other graphical parameters.

Author

G. Luta, U. Naumann and M.P. Wand

References

Naumann, U., Luta, G. and Wand, M.P. (2009).
The curvHDR method for gating flow cytometry samples.
BMC Bioinformatics, 11:44, 1-13.

See Also

curvHDRfilter

Examples

Run this code
library(curvHDR)

# Univariate curvHDR example:

xUniv <- c(rnorm(1000,-2),rnorm(1000,2))
gate1 <- curvHDRfilter(xUniv)
plot(gate1)

# Bivariate curvHDR example:

xBiva <- cbind(c(rnorm(1000,-2),rnorm(1000,2)),
               c(rnorm(1000,-2),rnorm(1000,2)))
gate2 <- curvHDRfilter(xBiva)
plot(gate2)

# Trivariate curvHDR example:

if (FALSE) {
xTriv <- cbind(c(rnorm(1000,-2),rnorm(1000,2)),
               c(rnorm(1000,-2),rnorm(1000,2)),
               c(rnorm(1000,-2),rnorm(1000,2)))
gate3 <- curvHDRfilter(xTriv)
plot(gate3)
}

Run the code above in your browser using DataLab