Skip to content

cfTools

Bioc current

Informatics Tools for Cell-Free DNA Study

v1.12.0 · Package record · software · file LICENSE

Release Lineage

Entered 3.17 · Apr 26, 2023

Current · Requires R 4.6

1.0 In 7 of 49 releases 3.23

Description

The cfTools R package provides methods for cell-free DNA (cfDNA) methylation data analysis to facilitate cfDNA-based studies. Given the methylation sequencing data of a cfDNA sample, for each cancer marker or tissue marker, we deconvolve the tumor-derived or tissue-specific reads from all reads falling in the marker region. Our read-based deconvolution algorithm exploits the pervasiveness of DNA methylation for signal enhancement, therefore can sensitively identify a trace amount of tumor-specific or tissue-specific cfDNA in plasma. cfTools provides functions for (1) cancer detection: sensitively detect tumor-derived cfDNA and estimate the tumor-derived cfDNA fraction (tumor burden); (2) tissue deconvolution: infer the tissue type composition and the cfDNA fraction of multiple tissue types for a plasma cfDNA sample. These functions can serve as foundations for more advanced cfDNA-based studies, including cancer diagnosis and disease monitoring.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

94 8 exported

Complexity

2.4 avg / 7 max

Call network

94 nodes / 47 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

5,780

Files

113

Compiled share

55.9%

Has compiled src

Yes

Language breakdown

R 1,192 (20.6%)C/C++/src 3,232 (55.9%)Tests 74 (1.3%)Docs 838 (14.5%)Vignettes 444 (7.7%)

API

Exported functions

8

Internal functions

3

Recent export changes

v3.21+1 PlotFractionPie

Testing

Has tests

Yes

Test-to-code ratio

0.06

testthat edition

3

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

14.3%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

–

System requirements

–

C++ standard

–

License

file LICENSE

License flags

SPDX valid, not OSI

History

Versions

7

First release

2023-04-25

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

–

Dep drift

4

LOC over versions

v3.17: 5,170 LOCv3.18: 5,535 LOCv3.19: 5,535 LOCv3.20: 5,567 LOCv3.21: 5,772 LOCv3.22: 5,780 LOCv3.23: 5,780 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 · 439 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structuredCitation fileNoWebsitenot declared in DESCRIPTION
Help pages
25 (1 internal)includes a package overview page
Examples that run
100%8 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Repository practices

Upstream repositoryBeta

Checks run against github.com/jasminezhoulab/cftools on 2026-10-21.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 16
NameClassSizeAlso in
CancerDetector.markersdata.frame1,266 × 3No other package
CancerDetector.readsdata.frame9,991 × 2No other package
CpG_OB_demodata.frame2,224 × 5No other package
CpG_OT_demodata.frame2,556 × 5No other package
beta_matrixdata.frame20 × 3No other package
cfDeconvolve.markersdata.frame10 × 8No other package
cfDeconvolve.readsdata.frame942 × 2No other package
cfsort_markersdata.frame51,035 × 4No other package
cfsort_readsdata.frame99,999 × 2No other package
demo.fragment_level.meth.beddata.frame552 × 9No other package
demo.refo_frag.beddata.frame559 × 6No other package
demo.refo_meth.beddata.frame552 × 8No other package
demo.sorted.beddata.frame1,117 × 6No other package
marker_indexdata.frame3 × 1No other package
markers.beddata.frame3 × 4No other package
sample_typedata.frame20 × 1No other package

All of cfTools's data objects

Topics

Maintainer
Ran Hu

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("cfTools")
Hu, R., Li, S., Li, W., Stackpole, M. L., & Zhou, X. J. (2026). cfTools: Informatics Tools for Cell-Free DNA Study (Version 1.12.0) [Computer software]. https://bioconductor.org/packages/cfTools

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 cfTools version 1.12.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