propHomotypic {scDblFinder} | R Documentation

## propHomotypic

### Description

Computes the proportion of pairs expected to be made of elements from the same cluster.

### Usage

    propHomotypic(clusters)

### Arguments

`clusters` | A vector of cluster labels

### Value

A numeric value between 0 and 1.

### Examples

    clusters <- sample(LETTERS[1:5], 100, replace=TRUE)
    propHomotypic(clusters)

[Package scDblFinder version 1.8.0 Index]