plotCluster {clusterSeq} | R Documentation |
Given clusterings and expression data, plots representative expression data for each clustering.
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
# 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)