Description Usage Arguments Details Value Author(s) Examples
A shortcut to produce lattice graphs
1 2 3 4 |
x |
a matrix or data frame of continuous feature/probe/spectra data. |
y |
a factor indicating class membership. |
plot |
the type of plot. For classification: |
labels |
a bad attempt at pre-defined axis labels |
... |
options passed to lattice calls. |
This function “stacks” data to get it into a form compatible with lattice and creates the plots
An object of class “trellis”. The ‘update’ method can be used to update components of the object and the ‘print’ method (usually called by default) will plot it on an appropriate plotting device.
Max Kuhn
1 2 3 4 5 6 7 8 | x <- matrix(rnorm(50*5),ncol=5)
y <- factor(rep(c("A", "B"), 25))
trellis.par.set(theme = col.whitebg(), warn = FALSE)
featurePlot(x, y, "ellipse")
featurePlot(x, y, "strip", jitter = TRUE)
featurePlot(x, y, "box")
featurePlot(x, y, "pairs")
|
Loading required package: lattice
Loading required package: ggplot2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.