ontoMultiMinimal {scOntoMatch}R Documentation

get the minimal ontology tree of a list of seurat objects by reducing descendant terms to ancestor terms return a named list of seurat objects with meta.data[["cell_ontology_base"]] storing the reduced ontology annotation

Description

get the minimal ontology tree of a list of seurat objects by reducing descendant terms to ancestor terms return a named list of seurat objects with meta.data[["cell_ontology_base"]] storing the reduced ontology annotation

Usage

ontoMultiMinimal(obj_list, ont, anno_col = "cell_ontology_base", onto_id_col)

Arguments

obj_list

a named list of seurat objects

ont

ontologyIndex object

anno_col

the cell ontology text annotation column name

onto_id_col

if also have ontology id column for direct mapping

Value

a named list of seurat objects with meta.data[["cell_ontology_base"]]

Examples

## Not run: 
ontoMultiMinimal(seurat_obj_list, ont, "cell_ontology_base", 'ontology_id')

## End(Not run)

[Package scOntoMatch version 0.1.1 Index]