Description Usage Arguments Author(s) Examples
View source: R/defineConsensus.R
Compare and cluster various classification systems using a "Cluster of Cluster" approach
1 2 3 | consensus.COCA(annot.class, outdir, maxK = 8, reps = 100, seed = 12,
innerLinkage = "ward.D2", finalLinkage = "ward.D2",
distance = "euclidean", ...)
|
annot.class |
a dataframe of samples annotated according to the several classification systems to compare. |
outdir |
the path to the directory where to store plots and results. A new directory will be created if the supplied path does not exist. |
maxK |
an integer value that aximum cluster number to be evaluated. |
reps |
an integer value that represents the number of repetitions to be performed. |
seed |
an integer. Used for result reproducibility. See set.seed |
innerLinkage |
a linkage method for constructing the hierarchical clustering. See hclust for linkage methods. |
finalLinkage |
a linkage method for constructing the final clustering. See hclust for linkage methods. |
distance |
a distance metric to evaluate the samples. See dist for methods. |
... |
other parameters passed to ConsensusClusterPlus |
Aurelie Kamoun
1 2 3 4 5 6 7 8 | ## Not run:
#-- Using bladder cancer classes as example
library(BuildConsensus)
data(blca_class)
coca_res <- consensus.coca(blca_class[sample(nrow(blca_class), 500),], outdir = "coca_res", maxK = 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.