Description Usage Arguments Details Value Author(s) See Also
Basically this is an auxiliary function used by heattile: It extracts the cluster indices from a biclust object and optimizes the order of the rows and columns in the data matrix with respect to these clusters. Uses the Measure of Effectiveness as an optimization criterion. See ME and optME.
1 2 |
bic |
The biclust object. |
dim |
The dimension of the matrix. |
nstart |
Number of starting points for the TSP solver in optME. |
solver |
The TSP solver to use with optME: See solve_TSP. |
cpr |
Whether or not to combine identical rows. |
cpc |
Whether or not to combine identical columns. |
adjust.dist |
If |
The algorithm first computes an indicator matrix for each cluster and then combines these matrices to a 3D table. Then for the first and the second dimension the category orders are optimized with respect to ME. The optimization is done via optME which uses a TSP solver.
The difference to getIs is that rows and columns which are identical with respect to the biclusters are combined before the optimization. This keeps identical categories together and also speeds up the algorithm considerably (depending on the TSP solver).
The TSP solver solver = "nearest_insertion"
for instance is inefficient in this case since it has to add (identical) cases one by one.
The cluster indices with respect to the optimized row and column orders in form of a list.
The optimized orders for the data matrix are attached as an attribute attr(x, "orders")
.
Alexander Pilhoefer
heattile, getIs2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.