Skip to contents

Function to add or update marker genes for the current mode

Usage

updateMarkerGenes(
  AIT.anndata,
  marker.genes = NULL,
  list.name = paste0("marker_genes_", AIT.anndata$uns$mode),
  default.list.name = "marker_genes_standard"
)

Arguments

AIT.anndata

A reference taxonomy anndata object.

list.name

Which slot in obs to should the highly variable genes go? Default is marker_genes_mode

default.list.name

Which slot should highly variable genes be copied from if none are provided? Default is marker_genes_standard

variable.genes

Set of variable genes to add to the list.name slot in obs.

Value

an AIT.anndata object with the updated/additional vector of marker genes

Note that this is a wrapper of updateHighlyVariableGenes with different default names