Skip to content

PureCN

Bioc current

Copy number calling and SNV classification using targeted short read sequencing

v2.18.0 · Package record · software · Artistic-2.0

Release Lineage

Entered 3.3 · May 4, 2016

Current · Requires R 4.6

1.0 In 21 of 49 releases 3.23

Description

This package estimates tumor purity, copy number, and loss of heterozygosity (LOH), and classifies single nucleotide variants (SNVs) by somatic status and clonality. PureCN is designed for targeted short read sequencing data, integrates well with standard somatic variant detection and copy number pipelines, and has support for tumor samples without matching normal samples.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

253 44 exported

Complexity

5 avg / 141 max

Call network

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

17,685

Files

200

Compiled share

0%

Has compiled src

No

Language breakdown

R 9,508 (53.8%)Tests 1,817 (10.3%)Docs 3,346 (18.9%)Vignettes 3,014 (17%)

API

Exported functions

44

Internal functions

207

Recent export changes

v3.9+2 processMultipleSamples, segmentationHclust  −1 findBestNormal
v3.8+2 calculateIntervalWeights, filterIntervals  −1 plotBestNormal

Testing

Has tests

Yes

Test-to-code ratio

0.19

testthat edition

–

Docs

Roxygen coverage

100%

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

10.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

–

C++ standard

–

License

Artistic-2.0

License flags

SPDX valid, OSI approved

History

Versions

21

First release

2016-07-01

Latest release

2026-04-28

Avg cadence

186 days

Cold removal rate

100%

Dep drift

20

LOC over versions

v3.3: 4,558 LOCv3.4: 8,215 LOCv3.5: 10,631 LOCv3.6: 11,358 LOCv3.7: 13,215 LOCv3.8: 13,372 LOCv3.9: 14,199 LOCv3.10: 15,131 LOCv3.11: 15,153 LOCv3.12: 15,709 LOCv3.13: 16,592 LOCv3.14: 17,298 LOCv3.15: 17,557 LOCv3.16: 17,557 LOCv3.17: 17,534 LOCv3.18: 17,454 LOCv3.19: 17,555 LOCv3.20: 17,555 LOCv3.21: 17,683 LOCv3.22: 17,685 LOCv3.23: 17,685 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 · 493 wordsVignettesYes · 2 · dynamicNEWSYes · 100% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
49
Examples that run
98%44 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
95%
Help pages citing references
16%

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/lima1/purecn on 2026-10-25.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and macOS, and on R-devel

Governance and community (1)
Issue templates
Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Dockerfile
How this is detected·Detection ruleset v4 (2026-10-20)

Datasets

Bundled datasets · 23
NameClassSizeAlso in
centromereslist3 elements2 packages
ex1_gcgenedata.frame3 × 2No other package
ex1_intervalsdata.frame3 × 1No other package
ex1_intervals_headered–––
ex2_intervalsdata.frame5 × 1No other package
example_allelic_counts–––
example_allelic_counts_empty–––
example_gatk4_denoised_cr–––
example_intervalsdata.frame10,049 × 6No other package
example_intervals_tinydata.frame496 × 6No other package
example_intervals_tiny_ot–––
example_logratiodata.frame21 × 2No other package
example_normaldata.frame10,049 × 4No other package
example_normal2data.frame10,049 × 4No other package
example_normal_tinydata.frame496 × 5No other package
example_segdata.frame54 × 6No other package
example_tumordata.frame10,049 × 4No other package
example_tumor2data.frame10,049 × 5No other package
example_tumor_tinydata.frame496 × 5No other package
issue184_2_mb–––
purecn.DNAcopy.bdryvector1,326 elementsNo other package
purecn.example.outputlist3 elementsNo other package
test_coverage_overlapping_intervalsdata.frame5 × 3No other package

All of PureCN's data objects

Topics

Maintainer
Markus Riester

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' entry:

citation("PureCN")

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

It points to 10.1186/s13029-016-0060-z.

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

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