Generate cell type annotation for each cell and provide complementary results to interpret results

generate_cell_type_annotation(PCA_obj, thr = 0, compute_umap = T)

Arguments

PCA_obj

Vector, containing cluster annotation for individual cells

thr

Minimum average activity by cluster required to be assigned an annotation. Default 0, increase to be more stringent on assignation confidence

Value

List containing cell type annotation, matrix of average score by Leiden cluster and cell type used for attribution, cell annotation with Leiden clusters, activity matrix and UMAP computed on activity matrix.