PairWiseJaccardSets: Calculate pair-wise Jaccard distance for @ident slots from...

Description Usage Arguments Value Examples

View source: R/scclusterboot.R

Description

Calculate pair-wise Jaccard distance for two named factor vector. e.g. seurat_obj1@ident and seurat_obj2@ident

Usage

1
PairWiseJaccardSets(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 pair-wise Jaccard distance. Rows are clusters from ident1, columns are clusters from ident2

Examples

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

## End(Not run)

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