Skip to content

cola

Bioc current

A Framework for Consensus Partitioning

v2.18.0 · Package record · software · MIT + file LICENSE

Release Lineage

Entered 3.9 · May 3, 2019

Current · Requires R 4.6

1.0 In 15 of 49 releases 3.23

Description

Subgroup classification is a basic task in genomic data analysis, especially for gene expression and DNA methylation data analysis. It can also be used to test the agreement to known clinical annotations, or to test whether there exist significant batch effects. The cola package provides a general framework for subgroup classification by consensus partitioning. It has the following features: 1. It modularizes the consensus partitioning processes that various methods can be easily integrated. 2. It provides rich visualizations for interpreting the results. 3. It allows running multiple methods at the same time and provides functionalities to straightforward compare results. 4. It provides a new method to extract features which are more efficient to separate subgroups. 5. It automatically generates detailed reports for the complete analysis. 6. It allows applying consensus partitioning in a hierarchical manner.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

125 45 exported

Complexity

6.2 avg / 84 max

Call network

125 nodes / 124 edges

Test coverage is not measured for Bioconductor packages; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

Code

Structure

Lines of code

19,400

Files

242

Compiled share

1.4%

Has compiled src

Yes

Language breakdown

R 12,876 (66.4%)C/C++/src 266 (1.4%)Tests 287 (1.5%)Docs 5,959 (30.7%)Vignettes 12 (0.1%)

API

Exported functions

49

Internal functions

67

Recent export changes

v3.9+42 [.ConsensusPartitionList, [.HierarchicalPartition, [[.ConsensusPartitionList +39 more

Testing

Has tests

Yes

Test-to-code ratio

0.02

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

42.1%

Unsafe pattern score

3

Dep constraint coverage

20.6%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0.0

System requirements

–

C++ standard

–

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

15

First release

2019-09-16

Latest release

2026-04-28

Avg cadence

180 days

Cold removal rate

100%

Dep drift

4

LOC over versions

v3.9: 14,974 LOCv3.10: 13,417 LOCv3.11: 13,445 LOCv3.12: 18,689 LOCv3.13: 19,161 LOCv3.14: 19,208 LOCv3.15: 19,319 LOCv3.16: 19,334 LOCv3.17: 19,404 LOCv3.18: 19,404 LOCv3.19: 19,407 LOCv3.20: 19,407 LOCv3.21: 19,400 LOCv3.22: 19,400 LOCv3.23: 19,400 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/bioc-code-metrics.

Documentation

In the Bioconductor 3.23 release
READMEYes · 507 wordsVignettesYes · 1 · staticNEWSYes · 100% structuredCitation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
175
Examples that run
92%161 run in a plain check · 10 only when donttest examples are enabled (R CMD check --as-cran) · 4 never run
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
63%
Help pages citing references
0%
Vignettes (1)

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/jokergoo/cola on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-01-30

How this is detected·Detection ruleset v3 (2026-09-26)

Datasets

Bundled datasets · 5
NameClassSizeAlso in
cola_rl–––
consensus_mat_listlist2 elementsNo other package
golub_cola–––
golub_cola_ds–––
golub_cola_rh–––

All of cola's data objects

Topics

Maintainer
Zuguang Gu

Available on

CRANr2uBioconductorautoCRANCOPR

Suggested by (2)

People

Cite

Cite this package

Run in R for the authors' entry:

citation("cola")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1093/nar/gkaa1146, 10.1093/bib/bbac048.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for cola version 2.18.0 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy