Package: adverSCarial 1.5.0

Ghislain FIEVET

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

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 package provides a comprehensive solution for evaluating the robustness of scRNA-seq classifiers against adversarial attacks.

Authors:Ghislain FIEVET [aut, cre], Sébastien HERGALANT [aut]

adverSCarial_1.5.0.tar.gz
adverSCarial_1.5.0.zip(r-4.5)adverSCarial_1.5.0.zip(r-4.4)adverSCarial_1.5.0.zip(r-4.3)
adverSCarial_1.5.0.tgz(r-4.4-any)adverSCarial_1.5.0.tgz(r-4.3-any)
adverSCarial_1.5.0.tar.gz(r-4.5-noble)adverSCarial_1.5.0.tar.gz(r-4.4-noble)
adverSCarial_1.5.0.tgz(r-4.4-emscripten)adverSCarial_1.5.0.tgz(r-4.3-emscripten)
adverSCarial.pdf |adverSCarial.html
adverSCarial/json (API)
NEWS

# Install 'adverSCarial' in R:
install.packages('adverSCarial', repos = c('https://bioc.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

On BioConductor:adverSCarial-1.5.0(bioc 3.21)adverSCarial-1.4.0(bioc 3.20)

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

softwaresinglecelltranscriptomicsclassification

5.26 score 10 scripts 120 downloads 16 exports 16 dependencies

Last updated 2 months agofrom:9d206a638c. Checks:OK: 1 WARNING: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 29 2024
R-4.5-winWARNINGNov 29 2024
R-4.5-linuxWARNINGNov 29 2024
R-4.4-winWARNINGNov 29 2024
R-4.4-macWARNINGNov 29 2024
R-4.3-winWARNINGNov 29 2024
R-4.3-macWARNINGNov 29 2024

Exports:advCGDadvCharadvGridMinChangeadvListadvMaxChangeadvModificationsadvRandWalkMinChangeadvSingleGeneadvTraininggetSignGenesmatrixFromSCEmaxChangeOverviewMClassifierpredictWithNewValuesceConvertToHGNCsingleGeneOverview

Dependencies:abindBiocGenericscrayonDelayedArraygenericsgtoolsIRangeslatticeMatrixMatrixGenericsmatrixStatsS4ArraysS4VectorsSparseArrayXVectorzlibbioc

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

Rendered fromvign01_adverSCarial.Rmdusingknitr::knitron Nov 29 2024.

Last update: 2024-08-13
Started: 2023-04-16

Vign02_overView_analysis

Rendered fromvign02_overView_analysis.Rmdusingknitr::knitron Nov 29 2024.

Last update: 2023-08-28
Started: 2023-04-16

Vign03_adapt_classifiers

Rendered fromvign03_adapt_classifier.Rmdusingknitr::knitron Nov 29 2024.

Last update: 2024-07-17
Started: 2023-04-16

Vign04_advRandWalkMinChange

Rendered fromvign04_advRandWalkMinChange.Rmdusingknitr::knitron Nov 29 2024.

Last update: 2023-08-28
Started: 2023-04-16

Readme and manuals

Help Manual

Help pageTopics
Implementation of the IDG4C algorithm.advCGD
adverSCarial classadvChar advChar-class
Grid search of min change adversarial attack. Tries each combination on a cluster, given a list of genes and a list of modifications.advGridMinChange
adverSCarial classadvList advList-class
Find a max change adversarial attack. It finds the longer list of genes you can modify on a cluster without changing its classification.advMaxChange
Returns a modified RNA expression DelayedMatrix, or a modified SingleCellExperiment, for a given cluster, for a given modification.advModifications
Random walk search of min change adversarial attack.advRandWalkMinChange
Find a one gene min change adversarial attack list. A one gene min change adversarial attack refers to the modification of a single gene within a cluster, leading to a change in its classification. The function returns a list of genes/new classification.advSingleGene
The function getSignGenes orders the genes by maximizing the significance of the gene to differentiate the clusters and ensures that they represent at most the variations across all possible pairs of clusters.getSignGenes
Returns the RNA expression matrix from a SingleCellExperiment with unique hgnc gene names in columnsmatrixFromSCE
Gives an overview of the susceptibility to max change attacks, for each cell type, for a given list of modifications.maxChangeOverview
Example cell type classifier for pbmc clustered datasets.MClassifier
Returns a classification and an odd value from a RNA expression DelayedMatrix or a SingleCellExperiment object, for given genes, for a given cluster, for a given modification.predictWithNewValue
Returns a SingleCellExperiment object keeping unique HGNC genesceConvertToHGNC
Gives an overview of the susceptibility to single gene attacks, for each cell type, for a given list of modifications.singleGeneOverview