Given a set of genes, find the ones which are detected in the sample, and which are not.

findGenes(seurat, genes)

Arguments

seurat

Seurat object

genes

Character vector of genes

Value

A named list with two elements: "detected" and "undetected" each storing character vectors with the genes in each category

Examples

find_out <- findGenes(pbmc, c("IL32", "CD79B", "foo")) find_out$detected
#> [1] "IL32" "CD79B"
find_out$undetected
#> [1] "foo"