Skip to content

knowYourCG

Bioc current

Functional analysis of DNA methylome datasets

v1.8.4 · Package record · software · AGPL-3

Release Lineage

Entered 3.19 · May 1, 2024

Current · Requires R 4.6

1.0 In 5 of 49 releases 3.23

Description

KnowYourCG (KYCG) is a supervised learning framework designed for the functional analysis of DNA methylation data. Unlike existing tools that focus on genes or genomic intervals, KnowYourCG directly targets CpG dinucleotides, featuring automated supervised screenings of diverse biological and technical influences, including sequence motifs, transcription factor binding, histone modifications, replication timing, cell-type-specific methylation, and trait-epigenome associations. KnowYourCG addresses the challenges of data sparsity in various methylation datasets, including low-pass Nanopore sequencing, single-cell DNA methylomes, 5-hydroxymethylation profiles, spatial DNA methylation maps, and array-based datasets for epigenome-wide association studies and epigenetic clocks (<doi:10.1126/sciadv.adw3027>). KnowYourCG v2, a command-line implementation in C, is available at <https://github.com/zhou-lab/kycg>.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

249 25 exported

Complexity

4 avg / 18 max

Call network

249 nodes / 311 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

10,509

Files

108

Compiled share

59.5%

Has compiled src

Yes

Language breakdown

R 2,209 (21%)C/C++/src 6,255 (59.5%)Tests 19 (0.2%)Docs 1,146 (10.9%)Vignettes 880 (8.4%)

API

Exported functions

25

Internal functions

30

Recent export changes

v3.23+1 bedToCg
v3.22+3 kycgDataCache, kycgDataGet, linkProbesToProximalGenes  −1 testGO

Testing

Has tests

Yes

Test-to-code ratio

0.01

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.4.0

System requirements

–

C++ standard

–

License

AGPL-3

License flags

SPDX valid, OSI approved

History

Versions

5

First release

2024-04-30

Latest release

2026-09-22

Avg cadence

251 days

Cold removal rate

100%

Dep drift

8

LOC over versions

v3.19: 1,766 LOCv3.20: 3,031 LOCv3.21: 9,366 LOCv3.22: 9,777 LOCv3.23: 10,509 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 · 509 wordsVignettesYes · 4 · dynamicNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
28
Examples that run
96%24 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
0%

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/zhou-lab/knowyourcg on 2026-10-21.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v4 (2026-10-20)

Topics

Maintainer
David Goldberg

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' entry:

citation("knowYourCG")

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

It points to 10.1126/sciadv.adw3027.

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

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