Skip to content

adverSCarial

Bioc current

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

v1.10.0 · 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.

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,549

Files

51

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,100 (55.9%)Tests 1 (0%)Docs 1,318 (23.8%)Vignettes 1,130 (20.4%)

API

Exported functions

16

Internal functions

23

Recent export changes

v3.20+3 advCGD, advTraining, getSignGenes

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

93.3%

\dontrun example ratio

0%

Roxygen coverage

93.8%

Has pkgdown

No

NEWS present

Yes

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,549 LOCv3.21: 5,549 LOCv3.22: 5,549 LOCv3.23: 5,549 LOC

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

Topics

People