ontoMinimal | R Documentation |
get the minimal ontology tree of a dataset by reducing descendant terms to ancestor terms return obj meta.data[["cell_ontology_base"]] storing the reduced ontology annotation
ontoMinimal(obj, ont, anno_col, onto_id_col)
obj |
the seurat object |
ont |
ontologyIndex object |
anno_col |
the cell ontology text annotation column name |
onto_id_col |
if also have ontology id column for direct mapping |
an seurat object with meta.data[["cell_ontology_base"]]
## Not run:
ontoMinimal(obj = seurat_obj, ont = ont, anno_col = 'ontology_name', onto_id_col = 'ontology_id')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.