PairWiseOverlappingIdents: Calculate pair-wise overlapping cluster identities for @ident...

Description Usage Arguments Value Examples

View source: R/scclusterboot.R

Description

Calculate pair-wise overlapping cluster identities for two named factor vector. e.g. seurat_obj1@ident and seurat_obj2@ident

Usage

1
PairWiseOverlappingIdents(ident1, ident2)

Arguments

ident1

a named factor vector. names are the cell names, the values are the cluster id.

ident2

a named factor vector. names are the cell names, the values are the cluster id.

Value

A matrix of pairwise number of common cell identities for each cluster.

Examples

1
2
3
4
## Not run: 
PairWiseOverlappingIdents(pbmc@ident, pbmc_small@ident)

## End(Not run)

crazyhottommy/scclusteval documentation built on Aug. 5, 2021, 3:20 p.m.