Description Usage Arguments Details Value Author(s) See Also Examples
Given clusterings and expression data, plots representative expression data for each clustering.
1 | plotCluster(cluster, cD, sampleSize = 1000)
|
cluster |
A list object defining the clusters, produced by |
cD |
The data object used to produce the clusters. |
sampleSize |
The maximum number of genes that will be ploted. |
Expression data are normalised and rescaled before plotting.
Plotting function.
Thomas J Hardcastle
1 2 3 4 5 6 7 8 9 10 11 12 | # load in analysed countData object
data(cD.ratThymus, package = "clusterSeq")
# estimate likelihoods of dissimilarity on reduced set
aM <- associatePosteriors(cD.ratThymus[1:1000,])
# make clusters from dissimilarity data
sX <- makeClusters(aM, cD.ratThymus, threshold = 0.5)
# plot first six clusters
par(mfrow = c(2,3))
plotCluster(sX[1:6], cD.ratThymus)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.