merge_cluster: merge_cluster

View source: R/Clustering_functions.R

merge_clusterR Documentation

merge_cluster

Description

merge_cluster

Usage

merge_cluster(old_cluster, new_cluster, max_number = NULL)

Arguments

old_cluster

original cluster assignment that need to be updated

new_cluster

new cluster assignment that need to be integrated with old_cluster.

max_number

Threshold in size for clusters in new_cluster. Only cluster with number of cells smaller than max_number will be integrated in old cluster. If max_number is NULL, then all the clusters in new_cluster are integrated in old cluster.

Value

Numeric vector of length equal to old_cluster showing the merged cluster assignment between old cluster and new_cluster.

Author(s)

Gabriele Lubatti gabriele.lubatti@helmholtz-muenchen.de


CIARA documentation built on March 18, 2022, 6:48 p.m.