Map Custom Celltype Annotations from a DataFrame

map_custom_celltypes(sce, mappings, cols = NULL, clusters_colname = "clusters")

Arguments

sce

a SingleCellExperiment

mappings

a dataframe with a "cluster" column and additional columns with celltype annotation data

cols

specifies the subset of columns to annotate with. defaults to NULL or all columns

clusters_colname

the name of the colData column with cluster number

Value

sce a SingleCellExperiment object with custom annotations

See also

Other clustering and dimensionality reduction: .get_x_most_specific_genes(), .map_celltypes(), .map_celltypes_with_ewce(), cluster_sce(), reduce_dims_sce()