find_matching_clusters: find_matching_clusters

View source: R/find_matching_clusters.R

find_matching_clustersR Documentation

find_matching_clusters

Description

Finds concordant ("matching") clusters betwen the user's Reference Genome #1 clustering and their Reference Genome #2 clustering by maximum weight bipartite graph matching. See the README for this package for more details regarding the mathematics of this algorithm.

Usage

find_matching_clusters(first_clustering, second_clustering)

Arguments

first_clustering

The S4 clustering class storing information related to the user's Reference Genome #1 clustering.

second_clustering

The S4 clustering class storing information related to the user's Reference Genome #2 clustering.

Value

A vector with a length equal to the number of clusters in first_clustering. Each element in this vector is the integer label for the cluster in second_clustering which is most concordant with the cluster labelled i - 1 in first_clustering, where i is the index of the given vector element.


eytan-weinstein/scClustMatch documentation built on May 3, 2022, 7:31 p.m.