Skip to content

COCOA

Bioc current

Coordinate Covariation Analysis

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

Release Lineage

Entered 3.8 · Oct 31, 2018

Current · Requires R 4.6

1.0 In 16 of 49 releases 3.23

Description

COCOA is a method for understanding epigenetic variation among samples. COCOA can be used with epigenetic data that includes genomic coordinates and an epigenetic signal, such as DNA methylation and chromatin accessibility data. To describe the method on a high level, COCOA quantifies inter-sample variation with either a supervised or unsupervised technique then uses a database of "region sets" to annotate the variation among samples. A region set is a set of genomic regions that share a biological annotation, for instance transcription factor (TF) binding regions, histone modification regions, or open chromatin regions. COCOA can identify region sets that are associated with epigenetic variation between samples and increase understanding of variation in your data.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

41 14 exported

Complexity

7.4 avg / 30 max

Call network

41 nodes / 61 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

8,183

Files

54

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,628 (56.6%)Tests 376 (4.6%)Docs 2,069 (25.3%)Vignettes 1,110 (13.6%)

API

Exported functions

14

Internal functions

27

Recent export changes

v3.8+7 aggregateLoadings, getLoadingProfile, regionQuantileByPC +4 more

Testing

Has tests

Yes

Test-to-code ratio

0.08

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

39

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5

System requirements

–

C++ standard

–

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

16

First release

2019-03-06

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

100%

Dep drift

2

LOC over versions

v3.8: 3,832 LOCv3.9: 3,835 LOCv3.10: 7,316 LOCv3.11: 7,342 LOCv3.12: 8,183 LOCv3.13: 8,183 LOCv3.14: 8,183 LOCv3.15: 8,183 LOCv3.16: 8,183 LOCv3.17: 8,183 LOCv3.18: 8,183 LOCv3.19: 8,183 LOCv3.20: 8,183 LOCv3.21: 8,183 LOCv3.22: 8,183 LOCv3.23: 8,183 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 · 307 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileYes · cites a publicationWebsiteYes
Help pages
27includes a package overview page
Examples that run
93%13 run in a plain check · 1 hold no code
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
4%

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/databio/cocoa on 2026-10-22.

Continuous integration (1)
Travis CI (config file)
Docs source (1)
pkgdown
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 12
NameClassSizeAlso in
atf3_chr1–––
brcaATACCoord1–––
brcaATACData1matrix4,053 × 37No other package
brcaMCoord1–––
brcaMetadatadata.frame329 × 6No other package
brcaMethylData1matrix6,004 × 300No other package
brcaPCScoresmatrix4 × 4No other package
brcaPCScores657data.frame657 × 5No other package
esr1_chr1–––
gata3_chr1–––
nrf1_chr1–––
rsScoresdata.frame5 × 3No other package

All of COCOA's data objects

Topics

Maintainer
John Lawson

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' entry:

citation("COCOA")

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

It points to 10.1186/s13059-020-02139-4.

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

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