Adds cluster annotations from JSON-like response object to Seurat object meta.data
and
also creates a list of custom cluster color palettes
Usage
add_cluster_annotations(seurat_obj, cluster_obj, silent = FALSE)
Arguments
- seurat_obj
Seurat object
- cluster_obj
Cluster annotation set JSON-like response object
- silent
Boolean, whether to suppress console messages
Value
A list containing obj
, the Seurat object with added cluster annotations, and colors
, a list containing custom cluster color palettes