mergeAnnotationByLevels: Merge Annotation By Levels

mergeAnnotationByLevelsR Documentation

Merge Annotation By Levels

Description

merge provided annotation using 'classification.tree' to get annotations for different levels of hierarchy

Usage

mergeAnnotationByLevels(annotation, classification.tree)

Arguments

annotation

annotation for high-resolution. Cell type names must correspond to nodes in the 'classification.tree'

classification.tree

cell type hierarchy represented by graph. Part of 'clf_data' object from 'getClassificationData'

Value

list of annotations where each element correspond to some hierarchy level

Examples

  ann_by_level <- mergeAnnotationByLevels(annotation, clf_data$classification.tree)


khodosevichlab/CellAnnotatoR documentation built on June 29, 2022, 9:12 p.m.