Skip to content

COTAN

Bioc current

COexpression Tables ANalysis

v2.12.1 · Package record · software · GPL-3

Release Lineage

Entered 3.15 · Apr 27, 2022

Current · Requires R 4.6

1.0 In 9 of 49 releases 3.23

Description

Statistical and computational method to analyze the co-expression of gene pairs at single cell level. It provides the foundation for single-cell gene interactome analysis. The basic idea is studying the zero UMI counts' distribution instead of focusing on positive counts; this is done with a generalized contingency tables framework. COTAN can effectively assess the correlated or anti-correlated expression of gene pairs. It provides a numerical index related to the correlation and an approximate p-value for the associated independence test. COTAN can also evaluate whether single genes are differentially expressed, scoring them with a newly defined global differentiation index. Moreover, this approach provides ways to plot and cluster genes according to their co-expression pattern with other genes, effectively helping the study of gene interactions and becoming a new tool to identify cell-identity marker genes.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

119 88 exported

Complexity

5.4 avg / 49 max

Call network

119 nodes / 253 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

24,655

Files

105

Compiled share

0%

Has compiled src

No

Language breakdown

R 15,588 (63.2%)Tests 2,640 (10.7%)Docs 4,258 (17.3%)Vignettes 2,169 (8.8%)

API

Exported functions

88

Internal functions

24

Recent export changes

v3.23+1 genesPercentagePlot
v3.22+2 calculateReducedDataMatrix, canUseTorch

Testing

Has tests

Yes

Test-to-code ratio

0.17

testthat edition

3

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.3

System requirements

–

C++ standard

–

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

9

First release

2022-04-26

Latest release

2026-05-20

Avg cadence

185 days

Cold removal rate

100%

Dep drift

37

LOC over versions

v3.15: 3,891 LOCv3.16: 3,882 LOCv3.17: 12,282 LOCv3.18: 14,379 LOCv3.19: 16,891 LOCv3.20: 20,243 LOCv3.21: 20,871 LOCv3.22: 22,922 LOCv3.23: 24,655 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 · 670 wordsVignettesYes · 4 · dynamicNEWSYes · 100% structured · mentions 2.12.1Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
23
Examples that run
100%17 run in a plain check (1 of them under a condition)
Exported functions with examples
83%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
4%
Changes in 2.12.1 (Bioconductor 3.23)

Updated package to support R version 4.6 and Roxygen 8.0

From NEWS.md in the release

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/seriph78/cotan on 2026-10-11.

Lint, format, editor (1)
lintr
How this is detected·Detection ruleset v3 (2026-09-26)

Datasets

Bundled datasets · 8
NameClassSizeAlso in
ERCCrawdata.frame92 × 1,016No other package
raw.datasetdata.frame2,001 × 815No other package
test.datasetdata.frame600 × 1,000No other package
test.dataset.clusters1factor1,000 elementsNo other package
test.dataset.clusters2factor1,000 elementsNo other package
vignette.cells.originfactor2,000 elementsNo other package
vignette.merge.clustersfactor1,783 elementsNo other package
vignette.split.clustersfactor1,783 elementsNo other package

All of COTAN's data objects

Topics

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("COTAN")
Silvia Giulia, G., Corrado, P., Daniel, P., Federico, C., Francesco, M., Manuela, H., Marco, F., & Marco, P. (2026). COTAN: COexpression Tables ANalysis (Version 2.12.1) [Computer software]. https://bioconductor.org/packages/COTAN

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 COTAN version 2.12.1 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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