Skip to content

adverSCarial

Bioc current

adverSCarial, generate and analyze the vulnerability of scRNA-seq classifier to adversarial attacks

v1.10.0 · Package record · software · MIT + file LICENSE

Release Lineage

Entered 3.18 · Oct 25, 2023

Current · Requires R 4.6

1.0 In 6 of 49 releases 3.23

Description

adverSCarial is an R Package designed for generating and analyzing the vulnerability of scRNA-seq classifiers to adversarial attacks. The package is versatile and provides a format for integrating any type of classifier. It offers functions for studying and generating two types of attacks, single gene attack and max change attack. The single-gene attack involves making a small modification to the input to alter the classification. The max-change attack involves making a large modification to the input without changing its classification. The CGD attack is based on an estimated gradient descent. against adversarial attacks. The package provides a comprehensive solution for evaluating the robustness of scRNA-seq classifiers against adversarial attacks.

Advisories

None published for Bioconductor

Test coverage

Line coverage

–

Expression

–

Tests / Examples

–

Functions

37 14 exported

Complexity

12.4 avg / 50 max

Call network

37 nodes / 39 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,546

Files

46

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,100 (55.9%)Tests 1 (0%)Docs 1,318 (23.8%)Vignettes 1,127 (20.3%)

API

Exported functions

16

Internal functions

23

Recent export changes

v3.20+3 advCGD, advTraining, getSignGenes

Testing

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

–

Docs

Roxygen coverage

93.8%

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

–

System requirements

–

C++ standard

–

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

6

First release

2023-10-24

Latest release

2026-04-28

Avg cadence

182 days

Cold removal rate

–

Dep drift

0

LOC over versions

v3.18: 4,314 LOCv3.19: 4,354 LOCv3.20: 5,546 LOCv3.21: 5,546 LOCv3.22: 5,546 LOCv3.23: 5,546 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 · 773 wordsVignettesYes · 4 · dynamicNEWSYes · 67% structuredCitation fileYes · cites a publicationWebsitenot declared in DESCRIPTION
Help pages
15
Examples that run
100%15 run in a plain check
Exported functions with examples
100%
Documented parameters
94%
Return-value docs
93%
Help pages citing references
0%

Repository practices

Bioconductor git repository

Checks read the Bioconductor git repository (git.bioconductor.org), branch RELEASE_3_23.

No development-tooling practices detected in the Bioconductor git repository.

Datasets

Bundled datasets · 1
NameClassSizeAlso in
pbmc3k_cell_typesdata.frame2,700 × 2No other package

All of adverSCarial's data objects

Topics

Maintainer
Ghislain FIEVET

Available on

CRANr2uBioconductorautoCRANCOPR

People

Cite

Cite this package

Run in R for the authors' entry:

citation("adverSCarial")

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

It points to 10.1093/bioinformatics/btaf168.

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 adverSCarial version 1.10.0 [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