plot.curvHDRfilter: Plot a curvHDR filter.

View source: R/plot.curvHDRfilter.r

plot.curvHDRfilterR Documentation

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 class 'curvHDRfilter'
plot(x,removeDebri=TRUE,pch=NULL,cex=NULL,
                             bty=NULL,col=NULL,main=NULL,...)

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.

Value

The function generates a plot.

Author(s)

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

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:

## Not run: 
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)

## End(Not run)


curvHDR documentation built on May 31, 2023, 5:50 p.m.