GetAllGOTermNames: Show All GO Terms in an Object, and retrieve corresponding...

View source: R/gruffi.R

GetAllGOTermNamesR Documentation

Show All GO Terms in an Object, and retrieve corresponding names using AnnotationDbi

Description

Retrieves and optionally annotates all GO term identifiers present in the metadata of a Seurat object. It identifies columns starting with 'Score.GO', extracts the corresponding GO terms, retrieves tge corresponding term-names using AnnotationDbi, and optionally saving them back into the object.

Usage

GetAllGOTermNames(obj = combined.obj, return.obj = TRUE)

Arguments

obj

A Seurat object containing metadata with GO term score columns, default: combined.obj.

return.obj

Logical indicating whether to return the modified Seurat object.

Value

A modified Seurat object with GO terms annotated in misc$gruffi$GO.Lookup or a vector of GO term names.

See Also

grepv GOID, GOTerms-class


jn-goe/gruffi documentation built on Nov. 7, 2024, 10:38 p.m.