# NOT RUN {
# Load one dataset with 300 observations, 2 variables, 6 clusters
data <- as.matrix(read.csv(system.file("extdata", "dataset1.csv",
package = "coca"), row.names = 1))
# Compute consensus clustering with K=5 clusters
cm <- consensusCluster(data, K = 5)
# }
Run the code above in your browser using DataLab