Skip to content

DamageDetective

Detecting Damaged Cells in Single-Cell RNA Sequencing Data

v1.0.0 · Apr 3, 2025 · AGPL (>= 3)

Description

Detects and filters damaged cells in single-cell RNA sequencing (scRNA-seq) data using a novel approach inspired by 'DoubletFinder'. Damage is detected by measuring the extent to which cells deviate from artificially damaged profiles of themselves, simulated through the probabilistic escape of cytoplasmic RNA. As output, a damage score ranging from 0 to 1 is given for each cell providing an intuitive scale for filtering that is standardised across cell types, samples, and experiments.

Downloads

CRAN

231

Last 30 days

21471st

556

Last 90 days

2K

Last year

Trend: +67.4% (30d vs prior 30d)

r2u CRAN

1

Last 30 days

26

Last 90 days

101

Last year

Trend: -90% (30d vs prior 30d)

autoCRAN

2

Last 7 days

16

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘ggpubr’

Package suggested but not available for checking: ‘Seurat’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 10, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

re-building of vignette outputs

Error(s) in re-building vignettes:
  ...
--- re-building ‘detection-vignette.Rmd’ using rmarkdown

Quitting from detection-vignette.Rmd:29-34 [library_prep]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang
...[truncated]...
ignette.Rmd' failed with diagnostics:
there is no package called 'Seurat'
--- failed re-building ‘detection-vignette.Rmd’

SUMMARY: processing the following file failed:
  ‘detection-vignette.Rmd’

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

3,015

Files

32

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,814 (60.2%)Tests 3 (0.1%)Docs 890 (29.5%)Vignettes 308 (10.2%)

API

Exported functions

3

Internal functions

35

Recent export changes

v1.0.0+3 detect_damage, select_penalty, simulate_counts

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

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

1

First release

2025-04-03

Latest release

2025-04-03

Avg cadence

Cold removal rate

Dep drift

0

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies cowplot dplyr ggplot2 ggpubr Matrix patchwork scales RcppHNSW rlang tidyr withr DamageDetective

Version History

1 tracked
new 1.0.0 Mar 10, 2026

R Observatory began tracking this package on Mar 10, 2026; it first appeared on CRAN Apr 3, 2025. Releases before tracking aren’t shown.