Description Usage Arguments Value Note References
Internal. Sets common color of clusters between different K. Taken from the package ConsensusClusteringPlus, we only modified some variable names.
1 2 | setClusterColors(previousConsensusClass, consensusClass, listColors,
colorTracking, K)
|
previousConsensusClass |
vector of cluster classifications for the previous value of K. |
consensusClass |
vector of cluster classifications for the current value of K. |
listColors |
list of colors to be used. |
colorTracking |
list for storing the colors assigned for the current value of K. |
K |
vector of integers representing numbeer of clusters to evaluate, minimum 2. |
A list with colors assignments for current value of K.
Function taken from ConsensusClusterPlus package.
Wilkerson M and Hayes D (2010) ConsensusClusterPlus: a class discovery tool with confidence assessments and item tracking. Bioinformatics, 26, 1572-1573.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.