clusterPlotR | R Documentation |
plotting function for clustering objects
clusterPlotR(cData, cls, x, NC, ...)
## S4 method for signature 'ANY,kmeans'
clusterPlotR(
cData = NA,
cls = NA,
x = NA,
NC = NA,
annoIndx = NA,
label = NULL,
...
)
## S4 method for signature 'ANY,hclust'
clusterPlotR(
cData = NA,
cls = NA,
x = NA,
NC = NA,
annoIndx = NA,
label = NULL,
...
)
cData |
data used to get clusters |
cls |
a cluster (kmeans or hclust) object |
x |
a vector of length equal to number of samples to use for plotting |
NC |
vector of integers indicating which clusters to use |
... |
additional parameters for plotting. ex. pch,cex,col,labels, xlab, etc. |
annoIndx |
vector indexing into subsets for plotting |
label |
character vector to use for plotting text, defaults is NULL |
A plot of the mean behavior for each cluster
## Not run:
k.RNAseq6l3c3t<-kmeans(p.RNAseq6l3c3t,22)
clusterPlotR(p.RNAseq6l3c3t, cls=k.RNAseq6l3c3t,NC=1,x=pd.RNAseq6l3c3t$days,
col=pd.RNAseq6l3c3t$color)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.