Description Usage Arguments Details Value Author(s)
Wrapper functions for clustering methods that pass on
appropriate parameters and produce standardized output for
betweenmetrics
and withinmetrics
.
1 2 3 4 | kmeansOutput(matrix, params)
dianaOutput(matrix, params)
agglomOutput(matrix, params)
somOutput(matrix, params)
|
matrix |
A matrix of expression values. Commonly, this corresponds to the columns corresponding to samples and the rows corresponding to genes. |
params |
A list of params supplied to the function. |
In order to add a clustering method, you must add a wrapper function that implements the interface clusterOutput(data, params). Params can be passed onto the function by rewriting methodlistAuto (the easy way) or by producing a necessary param list by adding code to getClusterInfo (the more difficult way). The wrapper function must translate the output format of the clustering method into the clustering output format described above.
clustering |
A data frame with only one cluster whose row values are factors that correspond to the cluster that gene belongs to. Note that these must be factors; otherwise the clustering cannot be utilized by the rest of the Consense package |
Ted Laderas (laderast@ohsu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.