Package: adverSCarial 1.3.5

Ghislain FIEVET

adverSCarial: adverSCarial, generate and analyze the vulnerability of scRNA-seq classifiers 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.3.5.tar.gz
adverSCarial_1.3.5.zip(r-4.5)adverSCarial_1.3.5.zip(r-4.4)adverSCarial_1.3.5.zip(r-4.3)
adverSCarial_1.3.5.tgz(r-4.4-any)adverSCarial_1.3.5.tgz(r-4.3-any)
adverSCarial_1.3.5.tar.gz(r-4.5-noble)adverSCarial_1.3.5.tar.gz(r-4.4-noble)
adverSCarial_1.3.5.tgz(r-4.4-emscripten)adverSCarial_1.3.5.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.3.0(bioc 3.20)adverSCarial-1.2.0(bioc 3.19)

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

bioconductor-package

16 exports 1.00 score 15 dependencies

Last updated 9 days agofrom:4fb3560d78

Exports:advCharadvGridMinChangeadvIGD4CadvListadvMaxChangeadvModificationsadvRandWalkMinChangeadvSingleGeneadvTraininggetSignGenesmatrixFromSCEmaxChangeOverviewMClassifierpredictWithNewValuesceConvertToHGNCsingleGeneOverview

Dependencies:abindBiocGenericscrayonDelayedArraygtoolsIRangeslatticeMatrixMatrixGenericsmatrixStatsS4ArraysS4VectorsSparseArrayXVectorzlibbioc

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

Rendered fromvign01_adverSCarial.Rmdusingknitr::knitron Jul 02 2024.

Last update: 2024-06-24
Started: 2023-04-16

Vign02_overView_analysis

Rendered fromvign02_overView_analysis.Rmdusingknitr::knitron Jul 02 2024.

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

Vign03_adaptClassifier

Rendered fromvign03_adapt_classifier.Rmdusingknitr::knitron Jul 02 2024.

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

Vign04_advRandWalkMinChange

Rendered fromvign04_advRandWalkMinChange.Rmdusingknitr::knitron Jul 02 2024.

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

Readme and manuals

Help Manual

Help pageTopics
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
Implementation of the IDG4C algorithm.advIGD4C
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