plotCluster: Plots data from clusterings.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/plotCluster.R

Description

Given clusterings and expression data, plots representative expression data for each clustering.

Usage

1
plotCluster(cluster, cD, sampleSize = 1000)

Arguments

cluster

A list object defining the clusters, produced by makeClusters or makeClustersFF.

cD

The data object used to produce the clusters.

sampleSize

The maximum number of genes that will be ploted.

Details

Expression data are normalised and rescaled before plotting.

Value

Plotting function.

Author(s)

Thomas J Hardcastle

See Also

makeClusters makeClustersFF

Examples

 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)

clusterSeq documentation built on Nov. 8, 2020, 8:18 p.m.