Learn R Programming

clusterCons (version 1.2)

expressionPlot: Generate a profile plot for the data partitioned by cluster membership.

Description

This function uses the lattice function xyplot to generate a profile plot of the data values grouped by cluster in a multi-panel plot. The function takes as input the original data.frame() and a valid "consmatrix" class object (see consmatrix-class) by which to segregate the data.

Usage

expressionPlot(x,cm);

Arguments

x

the original data.frame() object used in the clustering.

cm

a valid "consmatrix" class object generated by the cluscomp function.

Value

No return value, called for side effects

References

Merged consensus clustering to assess and improve class discovery with microarray data. Simpson TI, Armstrong JD and Jarman AP. BMC Bioinformatics 2010, 11:590.

See Also

consmatrix-class

Examples

Run this code
# NOT RUN {
#load up the data set
data(sim_profile);

#load up an example cluscomp result with this data
data('testcmr');

#plot the expression profiles
expressionPlot(sim_profile,testcmr$e1_kmeans_k4);

# }

Run the code above in your browser using DataLab