Skip to content

cola

Bioc current

A Framework for Consensus Partitioning

v2.18.0 · 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.

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

22,443

Files

586

Compiled share

1.2%

Has compiled src

Yes

Language breakdown

R 12,876 (57.4%)C/C++/src 266 (1.2%)Tests 287 (1.3%)Docs 5,959 (26.6%)Vignettes 3,055 (13.6%)

API

Exported functions

49

Internal functions

67

Recent export changes

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

Testing & CI

Has tests

Yes

Test-to-code ratio

0.02

testthat edition

CI present

Yes

CI type

["github-actions"]

PR gated

Yes

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,978 LOCv3.10: 13,422 LOCv3.11: 13,450 LOCv3.12: 18,694 LOCv3.13: 19,166 LOCv3.14: 19,213 LOCv3.15: 19,324 LOCv3.16: 19,339 LOCv3.17: 19,409 LOCv3.18: 19,409 LOCv3.19: 19,412 LOCv3.20: 19,412 LOCv3.21: 22,443 LOCv3.22: 22,443 LOCv3.23: 22,443 LOC

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

Documentation

Documentation
READMEYes · 507 wordsVignettesYes · dynamicpkgdown siteYesNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
92%
Documented parameters
97%
Return-value docs
63%
References docs
0%

Topics

Depended on by (2)

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cola")
Gu, Z. (2026). cola: A Framework for Consensus Partitioning (Version 2.18.0) [Computer software]. https://bioconductor.org/packages/cola

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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