clustPlot: Plot expression profiles

Description Usage Arguments Details References See Also Examples

Description

Produces plots of clustered expression profiles, with seperate plots for each cluster. The average expression profile for each cluster is superimposed as well.

Usage

1
clustPlot(cl, mat, nrow, ncol)

Arguments

cl

integer vector giving the cluster membership for each item

mat

matrix of values to be plotted

nrow

number of rows to use for plotting

ncol

number of columns to use for plotting

Details

The figure region will be subdivided into nrow by ncol separate plots, using mfrow. The average expression profile and the number of genes belonging to each cluster is superimposed on each of the plots.

References

G.N. Brock, V. Pihur, S. Datta, and S. Datta. clValid, an R package for cluster validation. Journal of Statistical Software, 25, 2008.

See Also

See the package vignette for illustration on usage

Examples

1
2
3
4
5
6
## generate some fake data and cluster
set.seed(101)
mat <- matrix(rnorm(500), nrow=100, ncol=5)
clusts <- hclust(dist(mat))
cl <- cutree(clusts, 6)
clustPlot(cl, mat, 3, 2)


Search within the MmPalateMiRNA package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.