View source: R/run_consensus_clustering.R
run_consensus_clustering | R Documentation |
Function runs consensus clustering for a pre-determined sequence of K.
run_consensus_clustering(
cnr,
maxK = 40,
iters = 200,
title = "cnr_ccp",
innerLinkage = "ward.D2",
finalLinkage = "ward.D2",
seed = 2020.0314,
verbose = TRUE,
...
)
cnr |
a cnr object |
maxK |
maximum K, end of K sequence |
iters |
number of times the clustering runs |
title |
title for the consensus cluster map |
innerLinkage |
inner linkage, see ConsensusClusterPlus |
finalLinkage |
final linkage, see ConsensusClusterPlus |
seed |
seed of analysis |
verbose |
print out progress |
... |
additional parameters for ConsensusClusterPlus e.g. plot = "png" |
A cnr object that contains the output of ConsensusClusterPlus for the specified Ks.
ccp ConsensusClusterPlus object
data(cnr)
cnr <- phylo_cnr(cnr)
cnr <- run_consensus_clustering(cnr, maxK = 6)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.