jaccard_index: Calculate pairwise Jaccard Index between cells

Description Usage Arguments Value

View source: R/jaccard_index.R

Description

This function calculates the Jaccard Index between each pair of cells based on binarized expression matrix.

Usage

1
jaccard_index(Matrix, threshold = 0, ncores = 1)

Arguments

Matrix

An input matrix, where rows and columns represent genes and cells, respectively.

threshold

The threshold for generating binary matrix. Values greater than it are set to 1, otherwise 0. Default is 0.

ncores

Number of cores to use. Default is 1.

Value

A symmetric matrix containing pairwise Jaccard Index values between cells.


zky0708/2DImpute documentation built on March 12, 2020, 3:13 a.m.