Learn R Programming

cummeRbund (version 2.14.0)

csCluster: csCluster

Description

Returns a ggplot2 plot object with geom_line layer plotting FPKM values over conditions faceted by k-means clustering clusters. (Euclidean). This is very crude at this point. This does not return any of the clustering information directly, but if you want it, you can retrieve it from the ggplot object returned.

Usage

"csCluster"(object,k,logMode=T,method = "none",pseudocount=1,...)

Arguments

object
An object of class CuffFeatureSet.
k
Number of pre-defined clusters to attempt to find.
logMode
A logical value whether or not to log-transform the FPKM values prior to clustering.
method
Distance function to use when computing cluster solution. Default "none" will use the Jensen-Shannon distance (JSdist). Provide a function that returns a dist object on rows.
pseudocount
Value added to FPKM to avoid log-transform issues.
...
Additional arguments to pam.

Source

None

Details

Uses 'kmeans' function.

References

None.

Examples

Run this code
	data(sampleData)
	csCluster(sampleGeneSet,4)

Run the code above in your browser using DataLab