setClusterColors: The setClusterColors function

Description Usage Arguments Value Note References

Description

Internal. Sets common color of clusters between different K. Taken from the package ConsensusClusteringPlus, we only modified some variable names.

Usage

1
2
setClusterColors(previousConsensusClass, consensusClass, listColors,
  colorTracking, K)

Arguments

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.

Value

A list with colors assignments for current value of K.

Note

Function taken from ConsensusClusterPlus package.

References

Wilkerson M and Hayes D (2010) ConsensusClusterPlus: a class discovery tool with confidence assessments and item tracking. Bioinformatics, 26, 1572-1573.


mpru/ConsensusClustering documentation built on May 9, 2019, 5:54 a.m.