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

1
2
## S4 method for signature 'CuffFeatureSet'
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.

Details

Uses 'kmeans' function.

Author(s)

Loyal A. Goff

Source

None

References

None.

Examples

1
2
	data(sampleData)
	csCluster(sampleGeneSet,4)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.