compute_biadjacency_matrix: compute_biadjacency_matrix

View source: R/compute_biadjacency_matrix.R

compute_biadjacency_matrixR Documentation

compute_biadjacency_matrix

Description

Computes a biadjacency matrix between the clusters in the user's Reference Genome #1 clustering and those in their Reference Genome #2 clustering. Each entry i,j in that matrix is the Jaccard similarity score between cluster i in the user's Reference Genome #1 clustering and cluster j in their Reference Genome #2 clustering. Jaccard similarity is computed on the basis of cell IDs shared between clusters. Cluster labels are replaced to be Seurat-compliant.

Usage

compute_biadjacency_matrix(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 biadjacency matrix between the clusters in first_clustering and those in second_clustering.


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