View source: R/find_matching_clusters.R
find_matching_clusters | R Documentation |
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.
find_matching_clusters(first_clustering, second_clustering)
first_clustering |
The S4 |
second_clustering |
The S4 |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.