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


[Up] [Top]

Documentation for package ‘adverSCarial’ version 1.3.12

Help Pages

advCGD Implementation of the IDG4C algorithm.
advChar adverSCarial class
advChar-class adverSCarial class
advGridMinChange Grid search of min change adversarial attack. Tries each combination on a cluster, given a list of genes and a list of modifications.
advList adverSCarial class
advList-class adverSCarial class
advMaxChange Find a max change adversarial attack. It finds the longer list of genes you can modify on a cluster without changing its classification.
advModifications Returns a modified RNA expression DelayedMatrix, or a modified SingleCellExperiment, for a given cluster, for a given modification.
advRandWalkMinChange Random walk search of min change adversarial attack.
advSingleGene 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.
getSignGenes 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.
matrixFromSCE Returns the RNA expression matrix from a SingleCellExperiment with unique hgnc gene names in columns
maxChangeOverview Gives an overview of the susceptibility to max change attacks, for each cell type, for a given list of modifications.
MClassifier Example cell type classifier for pbmc clustered datasets.
predictWithNewValue 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.
sceConvertToHGNC Returns a SingleCellExperiment object keeping unique HGNC gene
singleGeneOverview Gives an overview of the susceptibility to single gene attacks, for each cell type, for a given list of modifications.