merge_cluster {CIARA}R 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


[Package CIARA version 0.1.0 Index]