GetGeneIds: Retrieve the gene IDs from a seuratObj created using...

View source: R/Seurat_III.R

GetGeneIdsR Documentation

Retrieve the gene IDs from a seuratObj created using ReadAndFilter10xData.

Description

Retrieve the gene IDs from a seuratObj created using ReadAndFilter10xData.

Usage

GetGeneIds(seuratObj, geneNames, throwIfGenesNotFound = TRUE)

Arguments

seuratObj

The seurat object

geneNames

A vector of gene names to translate

throwIfGenesNotFound

If true and any of the requested gene names are not found, an error will be thrown. Otherwise, the result will contain NAs

Value

A named vector of the gene IDs


bimberlabinternal/CellMembrane documentation built on Nov. 15, 2024, 9:34 p.m.