clusterAnnotation: Integration of manual cluster annotations

View source: R/clusterAnnotation.R

clusterAnnotationR Documentation

Integration of manual cluster annotations

Description

clusterAnnotation takes both an SCE object returned by clusterPropagation and a data.frame of annotations as inputs.

Usage

clusterAnnotation(sce, df_anno)

Arguments

sce

A SingleCellExperiment object. colData(sce) must contain the cluster_id column.

df_anno

A data.frame which has the following columns: cluster_id, celltype, celltype_detailed, and order. The order column will be used to define the order of the factor levels for cell types.

Value

A SingleCellExperiment-class object.


casanova-lab/iMUBAC documentation built on Sept. 13, 2022, 6:36 p.m.