gene.name.check: Check Gene Names in Seurat Object

View source: R/Seurat.Utils.R

gene.name.checkR Documentation

Check Gene Names in Seurat Object

Description

Examines gene names in a Seurat object for specific naming conventions, such as the presence of hyphens (-) or dots (.) often found in mitochondrial gene names. This function is useful for ensuring gene names conform to expected patterns, especially when preparing data for compatibility with other tools or databases.

Usage

gene.name.check(Seu.obj)

Arguments

Seu.obj

A Seurat object containing gene expression data.

Details

This function prints out examples of gene names that contain specific characters of interest (e.g., '-', '_', '.', '.AS1-9'). It is primarily used for data inspection and cleaning before further analysis or data export.

See Also

GetAssayData

Examples

## Not run: 
if (interactive()) {
  # Assuming `combined.obj` is your Seurat object
  gene.name.check(Seu.obj = combined.obj)
  # This will print examples of gene names containing '-', '_', '.', and '.AS[1-9]'
}

## End(Not run)


vertesy/Seurat.utils documentation built on Dec. 4, 2024, 5:20 p.m.